Author terry.reedy
Recipients bennorth, terry.reedy, vstinner
Date 2013-07-22.22:47:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1374533248.9.0.30170397453.issue18533@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-07-22 22:47:28terry.reedysetrecipients: + terry.reedy, vstinner, bennorth
2013-07-22 22:47:28terry.reedysetmessageid: <1374533248.9.0.30170397453.issue18533@psf.upfronthosting.co.za>
2013-07-22 22:47:28terry.reedylinkissue18533 messages
2013-07-22 22:47:28terry.reedycreate