Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

I run many timings and the dict.get() approach is decidedly faster. 
Thanks for pointing that out.  Applied in r73695, r73696, and 73697.

FWIW, a timing suite is attached.

----------
resolution:  -> fixed
status: open -> closed
versions: +Python 2.7, Python 3.2
Added file: http://bugs.python.org/file14391/tmp_time_missing.py

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

Reply via email to