New submission from Antoine Pitrou: 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 :-) ---------- components: Interpreter Core messages: 229817 nosy: haypo, pitrou, serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: Add a function to know about interpreter shutdown type: enhancement versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22696> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com