[issue9535] Pending signals are inherited by child processes
Gregory P. Smith
report at bugs.python.org
Tue Jan 4 04:46:45 CET 2011
Gregory P. Smith <greg at krypto.org> added the comment:
Yes I'd do it in PyOS_AfterFork. Simpler patch based on gdb's attached.
This could also use a test but as it involves signals and race conditions, making a deterministic test for this is difficult as it.
If we added testing hooks to the python interpreter internals to allow test code to do things like set the signal tripped flags directly it's be much easier.
----------
keywords: +needs review
Added file: http://bugs.python.org/file20252/issue9535-clear_signals_afterfork-gps01.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9535>
_______________________________________
More information about the Python-bugs-list
mailing list