[issue1497532] C API to retain GIL during Python Callback

2009-03-26 Thread Martin Gfeller Martin Gfeller
Martin Gfeller Martin Gfeller g...@comit.ch added the comment: Lukas, I'm afraid to admit you're right :-;. Assuming that the Python code called under the not release the GIL regime would not do anything that could be potentially blocking is probably dangerous and

[issue1497532] C API to retain GIL during Python Callback

2009-03-26 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- resolution: - rejected ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1497532 ___ ___

[issue1497532] C API to retain GIL during Python Callback

2009-03-22 Thread Lukas Lueg
Lukas Lueg knabberknusperh...@yahoo.de added the comment: I'm not sure if such a API is feasible. The very nature of Python makes it impossible to tell in advance what the interpreter will do when getting called. This is even true for simple functions - think of your function getting

[issue1497532] C API to retain GIL during Python Callback

2009-03-20 Thread Daniel Diniz
Changes by Daniel Diniz aja...@gmail.com: -- stage: - test needed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1497532 ___