[issue13070] segmentation fault in pure-python multi-threaded server

Charles-François Natali report at bugs.python.org
Tue Oct 4 13:35:51 CEST 2011


Charles-François Natali <neologix at free.fr> added the comment:

> Probably. OTOH, not setting the error state when returning NULL is
> usually an error (and can result in difficult-to-debug problems), so
> let's stay on the safe side.

> RuntimeError perhaps.

OK, I'll update the patch accordingly.

> Does that mean that an application will see a Python exception?

No, the finalization code explicitly clears any exception set.

----------

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


More information about the Python-bugs-list mailing list