Message193571
Fixing 3.3 is more likely that 3.4. I can view RuntimeError as a bug less obnoxious than crash, but others may differ. Ultimately, the release managers can decide. This is definitely appropriate for 3.4, so please add tests. If the patch is for 2.7, please do one for 3.3 or 3.4.
For 3.x, d.keys() is not an issue, but d.values() is.
>>> d = {}
>>> d[1] = d.keys()
>>> d
{1: dict_keys([1])}
>>> d[2] = d.values()
>>> d
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
RuntimeError: maximum recursion depth exceeded while getting the repr of a list |
|
Date |
User |
Action |
Args |
2013-07-22 22:47:28 | terry.reedy | set | recipients:
+ terry.reedy, vstinner, bennorth |
2013-07-22 22:47:28 | terry.reedy | set | messageid: <1374533248.9.0.30170397453.issue18533@psf.upfronthosting.co.za> |
2013-07-22 22:47:28 | terry.reedy | link | issue18533 messages |
2013-07-22 22:47:28 | terry.reedy | create | |
|