[New-bugs-announce] [issue22696] Add a function to know about interpreter shutdown

Antoine Pitrou report at bugs.python.org
Wed Oct 22 14:20:53 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue22696>
_______________________________________


More information about the New-bugs-announce mailing list