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 benjamin.peterson
Recipients benjamin.peterson
Date 2009-05-24.23:52:26
SpamBayes Score 0.00437616
Marked as misclassified No
Message-id <>
Performance numbers:

With patch:

$ ./python.exe -m timeit -s 'import thread; l = thread.allocate_lock()'
'with l: pass'
1000000 loops, best of 3: 1.99 usec per loop

100000 loops, best of 3: 2.15 usec per loop
Date User Action Args
2009-05-24 23:52:28benjamin.petersonsetrecipients: + benjamin.peterson
2009-05-24 23:52:28benjamin.petersonsetmessageid: <>
2009-05-24 23:52:27benjamin.petersonlinkissue6101 messages
2009-05-24 23:52:26benjamin.petersoncreate