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 vstinner
Recipients christian.heimes, koobs, vstinner
Date 2013-11-28.00:55:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385600143.22.0.413302597739.issue19757@psf.upfronthosting.co.za>
In-reply-to
Content
Hum, Clang is not kind enough to understand that gil_state is not used when uninitialized.

Well, I always hesitated to refactor the code. So here is a cleanup which moves PyGILState_Ensure/PyGILState_Release to the caller. It duplicates a few lines of code, but the new code should be more readable.
History
Date User Action Args
2013-11-28 00:55:43vstinnersetrecipients: + vstinner, christian.heimes, koobs
2013-11-28 00:55:43vstinnersetmessageid: <1385600143.22.0.413302597739.issue19757@psf.upfronthosting.co.za>
2013-11-28 00:55:43vstinnerlinkissue19757 messages
2013-11-28 00:55:43vstinnercreate