This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:39pitrousetrecipients: + pitrou, vstinner, neologix
2011-06-11 16:12:39pitrousetmessageid: <1307808759.44.0.0373389634555.issue12310@psf.upfronthosting.co.za>
2011-06-11 16:12:38pitroulinkissue12310 messages
2011-06-11 16:12:38pitroucreate