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 nedbat, neologix, pitrou
Date 2012-12-31.11:44:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1356954255.1.0.769553858844.issue16822@psf.upfronthosting.co.za>
In-reply-to
Content
That's a good question. Conceptually it makes sense, but I wonder if programs currently rely on os.execv not cleaning up anything: not only it doesn't call atexit handlers, but it also doesn't try to shutdown the interpreter. Which can be handy if you are using exec() in a fork() + exec() context (I think it is generally recommended to use os._exit(), not sys.exit() in a forked child).
History
Date User Action Args
2012-12-31 11:44:15pitrousetrecipients: + pitrou, nedbat, neologix
2012-12-31 11:44:15pitrousetmessageid: <1356954255.1.0.769553858844.issue16822@psf.upfronthosting.co.za>
2012-12-31 11:44:15pitroulinkissue16822 messages
2012-12-31 11:44:14pitroucreate