Message229817
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 :-) | |
| Date | User | Action | Args | | 2014-10-22 12:20:53 | pitrou | set | recipients: + pitrou, vstinner, serhiy.storchaka | | 2014-10-22 12:20:53 | pitrou | set | messageid: <1413980453.04.0.451789079104.issue22696@psf.upfronthosting.co.za> | | 2014-10-22 12:20:52 | pitrou | link | issue22696 messages | | 2014-10-22 12:20:52 | pitrou | create | | |