[issue1720250] PyGILState_Ensure does not acquires GIL

2011-02-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Given the deprecation of PyEval_ReleaseLock in issue10913, should this > be closed as "out of date"? Indeed :) -- resolution: -> out of date stage: test needed -> status: open -> closed ___ Python tracker

[issue1720250] PyGILState_Ensure does not acquires GIL

2011-02-28 Thread Nick Coghlan
Nick Coghlan added the comment: Given the deprecation of PyEval_ReleaseLock in issue10913, should this be closed as "out of date"? -- nosy: +ncoghlan ___ Python tracker ___ _

[issue1720250] PyGILState_Ensure does not acquires GIL

2010-07-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not even sure what PyEval_AcquireLock() and PyEval_ReleaseLock() are good for. Perhaps they should be deprecated. -- nosy: +pitrou ___ Python tracker __

[issue1720250] PyGILState_Ensure does not acquires GIL

2010-07-10 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This is still the case: the documentation should mention that PyEval_ReleaseLock() is not the correct function to release "the GIL", both the interpreter lock *and* the current thread state have to be released. -- assignee: -> d...@python compo

[issue1720250] PyGILState_Ensure does not acquires GIL

2010-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please check whether this is still an issue in 3.1, so that there is still an issue for 3.2. -- nosy: +tjreedy versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker

[issue1720250] PyGILState_Ensure does not acquires GIL

2009-04-12 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue1720250] PyGILState_Ensure does not acquires GIL

2009-04-06 Thread Daniel Diniz
Changes by Daniel Diniz : -- assignee: -> georg.brandl components: +Documentation nosy: +georg.brandl stage: -> test needed type: -> feature request versions: +Python 2.6, Python 3.0 -Python 2.5 ___ Python tracker

[issue1720250] PyGILState_Ensure does not acquires GIL

2007-11-18 Thread Greg Chapman
Greg Chapman added the comment: In my embedding, I use the following (adapting the example above): // initialize the Python interpreter Py_Initialize(); PyEval_InitThreads(); /* Swap out and return current thread state and release the GIL */ PyThreadState tstate = PyEval_SaveThread(); PyGILSt

[issue1720250] PyGILState_Ensure does not acquires GIL

2007-11-08 Thread Brad Johnson
Changes by Brad Johnson: -- nosy: +urBan_dK _ Tracker <[EMAIL PROTECTED]> _ ___ Python-bugs-list mailing list Unsubscribe: http://m