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 paul.moore
Recipients kristjan.jonsson, loewis, paul.moore, pitrou
Date 2012-06-12.12:56:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339505771.06.0.282582733593.issue15038@psf.upfronthosting.co.za>
In-reply-to
Content
Applies and builds cleanly on Win7 32-bit. The speed difference is visible here too:

PS D:\Data\cpython\PCbuild> .\python.exe -m timeit -s "from _thread import allocate_lock; l=allocate_lock()" "l.acquire();l.release()"
1000000 loops, best of 3: 0.608 usec per loop
PS D:\Data\cpython\PCbuild> hg revert --all
reverting pythoncore.vcxproj
reverting pythoncore.vcxproj.filters
reverting ..\Python\ceval_gil.h
forgetting ..\Python\condvar.h
reverting ..\Python\thread_nt.h
PS D:\Data\cpython\PCbuild> .\python.exe -m timeit -s "from _thread import allocate_lock; l=allocate_lock()" "l.acquire();l.release()"
1000000 loops, best of 3: 1.66 usec per loop

The test suite had a few Python crashes, but a build of trunk did too. No time to diagnose these now, but I didn't see any failures that weren't also in the unpatched build.

Basically, test suite results look the same as for the unpatched build.
History
Date User Action Args
2012-06-12 12:56:11paul.mooresetrecipients: + paul.moore, loewis, pitrou, kristjan.jonsson
2012-06-12 12:56:11paul.mooresetmessageid: <1339505771.06.0.282582733593.issue15038@psf.upfronthosting.co.za>
2012-06-12 12:56:10paul.moorelinkissue15038 messages
2012-06-12 12:56:09paul.moorecreate