[issue3605] Py_FatalError causes infinite loop

Antoine Pitrou report at bugs.python.org
Tue Aug 19 23:30:31 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

> Roger Upole <rupole at hotmail.com> added the comment:
> 
> Py_BEGIN_ALLOW_THREADS
> 	PyErr_SetString(PyExc_SystemError, "bork bork bork");
> 	Py_END_ALLOW_THREADS

Well, if you start using all kinds of internal APIs without holding the
GIL, you should expect much worse than just a Py_FatalError ;-)

Of course, it would still be better if the infinite loop could be
avoided.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3605>
_______________________________________


More information about the Python-bugs-list mailing list