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 kevinwatters
Recipients LambertDW, georg.brandl, kevinwatters
Date 2008-11-05.23:12:10
SpamBayes Score 7.419028e-05
Marked as misclassified No
Message-id <1225926731.76.0.649556386111.issue4260@psf.upfronthosting.co.za>
In-reply-to
Content
As far as I know, the above code will fail randomly in release mode if 
you have multiple threads running Python, because when ctypes calls out 
to CFUNCTYPE functions, it releases the GIL.

For decorating a python function to give to qsort, maybe you can use 
PYFUNCTYPE?
History
Date User Action Args
2008-11-05 23:12:11kevinwatterssetrecipients: + kevinwatters, georg.brandl, LambertDW
2008-11-05 23:12:11kevinwatterssetmessageid: <1225926731.76.0.649556386111.issue4260@psf.upfronthosting.co.za>
2008-11-05 23:12:11kevinwatterslinkissue4260 messages
2008-11-05 23:12:10kevinwatterscreate