Antoine Pitrou <pit...@free.fr> added the comment: 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.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13521> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com