Claudiu.Popa added the comment:

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.

----------
Added file: http://bugs.python.org/file35241/issue19385_speed.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19385>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to