Message204633
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. |
|
Date |
User |
Action |
Args |
2013-11-28 00:55:43 | vstinner | set | recipients:
+ vstinner, christian.heimes, koobs |
2013-11-28 00:55:43 | vstinner | set | messageid: <1385600143.22.0.413302597739.issue19757@psf.upfronthosting.co.za> |
2013-11-28 00:55:43 | vstinner | link | issue19757 messages |
2013-11-28 00:55:43 | vstinner | create | |
|