Message125290
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. |
|
Date |
User |
Action |
Args |
2011-01-04 03:46:45 | gregory.p.smith | set | recipients:
+ gregory.p.smith, pitrou, gdb |
2011-01-04 03:46:45 | gregory.p.smith | set | messageid: <1294112805.38.0.45308731439.issue9535@psf.upfronthosting.co.za> |
2011-01-04 03:46:39 | gregory.p.smith | link | issue9535 messages |
2011-01-04 03:46:39 | gregory.p.smith | create | |
|