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 Claudiu.Popa
Recipients Arfrever, Claudiu.Popa, Jim.Jewett, ncoghlan, python-dev, serhiy.storchaka
Date 2014-05-13.12:10:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399983023.53.0.353914735029.issue19385@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a new patch which uses the EAFP approach for dunder methods (__len__, __contains__ etc) and the _verify_open method for the other methods (.keys, .iterkeys) etc. Now the results are similar with the benchmark without the patch.
History
Date User Action Args
2014-05-13 12:10:23Claudiu.Popasetrecipients: + Claudiu.Popa, ncoghlan, Arfrever, python-dev, Jim.Jewett, serhiy.storchaka
2014-05-13 12:10:23Claudiu.Popasetmessageid: <1399983023.53.0.353914735029.issue19385@psf.upfronthosting.co.za>
2014-05-13 12:10:23Claudiu.Popalinkissue19385 messages
2014-05-13 12:10:23Claudiu.Popacreate