[issue9535] Pending signals are inherited by child processes

2012-11-10 Thread Gregory P. Smith
Changes by Gregory P. Smith : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue9535] Pending signals are inherited by child processes

2012-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b711422c98f by Gregory P. Smith in branch '2.7': Fixes issue #9535: Fix pending signals that have been received but not yet http://hg.python.org/cpython/rev/9b711422c98f -- ___ Python tracker

[issue9535] Pending signals are inherited by child processes

2012-11-10 Thread Roundup Robot
Roundup Robot added the comment: New changeset ba45976c2801 by Gregory P. Smith in branch '3.2': Fixes issue #9535: Fix pending signals that have been received but not http://hg.python.org/cpython/rev/ba45976c2801 New changeset c7d6cd3c27b9 by Gregory P. Smith in branch '3.3': Fixes issue #9535:

[issue9535] Pending signals are inherited by child processes

2011-01-04 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Yes I'd do it in PyOS_AfterFork. Simpler patch based on gdb's > attached. Private functions shouldn't use the PyXX_CamelCase() convention :) Otherwise, looks good. -- ___ Python tracker

[issue9535] Pending signals are inherited by child processes

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith 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

[issue9535] Pending signals are inherited by child processes

2011-01-03 Thread Gregory P. Smith
Gregory P. Smith added the comment: Doing this makes sense, i'm taking to closer look to see where it should be done. -- assignee: -> gregory.p.smith ___ Python tracker ___ ___

[issue9535] Pending signals are inherited by child processes

2011-01-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: Shouldn't the clearing of signals be done in PyOS_AfterFork() directly? Gregory, what do you think about the semantics? -- nosy: +pitrou ___ Python tracker

[issue9535] Pending signals are inherited by child processes

2010-09-03 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Interpreter Core -Extension Modules nosy: +gregory.p.smith stage: -> patch review versions: +Python 3.1, Python 3.2 -Python 2.5, Python 2.6 ___ Python tracker ___

[issue9535] Pending signals are inherited by child processes

2010-08-06 Thread Greg Brockman
New submission from Greg Brockman : Upon os.fork(), pending signals are inherited by the child process. This can be demonstrated by pressing C-c in the middle of the following program: """ import os, sys, time, threading def do_fork(): while True: if not os.fork(): prin