Message150886
| 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. |
|