Nick Coghlan ncogh...@gmail.com added the comment:
Given the deprecation of PyEval_ReleaseLock in issue10913, should this be
closed as out of date?
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1720250
Antoine Pitrou pit...@free.fr 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
Terry J. Reedy tjre...@udel.edu 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 rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com 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: -
Antoine Pitrou pit...@free.fr 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 rep...@bugs.python.org
Changes by Georg Brandl ge...@python.org:
--
assignee: georg.brandl -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1720250
___
___
Changes by Daniel Diniz aja...@gmail.com:
--
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
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();
Changes by Brad Johnson:
--
nosy: +urBan_dK
_
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue1720250
_
___
Python-bugs-list mailing list
Unsubscribe: