This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Ramchandra Apte, eric.araujo, gruszczy, jcea, jcon, meador.inge, pitrou, rhettinger
Date 2012-01-08.17:58:43
SpamBayes Score 6.5957674e-06
Marked as misclassified No
Message-id <1326045524.37.0.428771253512.issue13521@psf.upfronthosting.co.za>
In-reply-to
Content
Looking at the patch again, I think this isn't enough.
setdefault() will still call the lookup routine twice which, in the general case (i.e. lookdict() not lookdict_unicode()), can call arbitrary Python code through e.g. __eq__ methods.
History
Date User Action Args
2012-01-08 17:58:44pitrousetrecipients: + pitrou, rhettinger, jcea, eric.araujo, gruszczy, meador.inge, jcon, Ramchandra Apte
2012-01-08 17:58:44pitrousetmessageid: <1326045524.37.0.428771253512.issue13521@psf.upfronthosting.co.za>
2012-01-08 17:58:43pitroulinkissue13521 messages
2012-01-08 17:58:43pitroucreate