Antoine Pitrou added the comment:

I'm fine with the change too. Tim, what do you think?

Speaking of which, some examples were really done with an old machine:

    $ python -m timeit 'try:' '  str.__bool__' 'except AttributeError:' '  pass'
-   100000 loops, best of 3: 15.7 usec per loop
+   1000000 loops, best of 3: 0.701 usec per loop (1425528 loops/s)

:-)

----------

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

Reply via email to