aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-30 05:08:24 -0600
committerPetr Viktorin <pviktori@redhat.com>2019-05-30 13:08:24 +0200
commit249b7d59d8038f9017fc95dc28a3ce3494aaf832 (patch)
treec7df4d0c071aa6dfda7086c87a6c5ecc176e1bc7 /Python/import.c
parentbpo-36974: remove _PyObject_HasFastCall (GH-13460) (diff)
downloadcpython-249b7d59d8038f9017fc95dc28a3ce3494aaf832.tar.gz
cpython-249b7d59d8038f9017fc95dc28a3ce3494aaf832.tar.bz2
cpython-249b7d59d8038f9017fc95dc28a3ce3494aaf832.zip
bpo-20602: Do not clear sys.flags and sys.float_info during shutdown (GH-8096)
There is no need to clear these immutable objects during shutdown.
Diffstat (limited to 'Python/import.c')
-rw-r--r--Python/import.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/import.c b/Python/import.c
index 41a5c01cadf..ab7db6bc17f 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -383,8 +383,6 @@ static const char * const sys_deletes[] = {
"last_type", "last_value", "last_traceback",
"path_hooks", "path_importer_cache", "meta_path",
"__interactivehook__",
- /* misc stuff */
- "flags", "float_info",
NULL
};