Message138163
| Author |
pitrou |
| Recipients |
neologix, pitrou, vstinner |
| Date |
2011年06月11日.16:12:38 |
| SpamBayes Score |
0.07395233 |
| Marked as misclassified |
No |
| Message-id |
<1307808759.44.0.0373389634555.issue12310@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Less disruptive approach:
old_process = _current_process
_current_process = self
try:
util._finalizer_registry.clear()
util._run_after_forkers()
finally:
del old_process
This will delay finalization of the old process object until after _run_after_forkers() is executed, without (hopefully) messing with semantics. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月11日 16:12:39 | pitrou | set | recipients:
+ pitrou, vstinner, neologix |
| 2011年06月11日 16:12:39 | pitrou | set | messageid: <1307808759.44.0.0373389634555.issue12310@psf.upfronthosting.co.za> |
| 2011年06月11日 16:12:38 | pitrou | link | issue12310 messages |
| 2011年06月11日 16:12:38 | pitrou | create |
|