[issue7242] Forking in a thread raises RuntimeError

Zsolt Cserna report at bugs.python.org
Fri Feb 26 11:18:18 CET 2010


Zsolt Cserna <zsolt.cserna at morganstanley.com> added the comment:

There's a bundled unittest in test_httpservers which actually fails if this patch is not applied.

See the unittest attached. Unfortunatelly RuntimError is raised in the child process after fork() so I cannot re-raise it to the parent, instead I send a message from the child to the parent via a pipe if the child is ok.

----------
Added file: http://bugs.python.org/file16378/thread_unittest.py

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


More information about the Python-bugs-list mailing list