Author pitrou
Recipients pitrou, serhiy.storchaka, vstinner
Date 2014-10-22.12:20:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413980453.04.0.451789079104.issue22696@psf.upfronthosting.co.za>
In-reply-to
Content
I propose to add a new function sys.shutting_down() (name debatable) returning True if the interpreter is currently shutting down.

This would be a function so that you can bind it and avoid having it wiped at shutdown :-)
History
Date User Action Args
2014-10-22 12:20:53pitrousetrecipients: + pitrou, vstinner, serhiy.storchaka
2014-10-22 12:20:53pitrousetmessageid: <1413980453.04.0.451789079104.issue22696@psf.upfronthosting.co.za>
2014-10-22 12:20:52pitroulinkissue22696 messages
2014-10-22 12:20:52pitroucreate