summaryrefslogtreecommitdiffstats
path: root/Python/import.c
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2019-05-30 11:08:24 (GMT)
committerPetr Viktorin <pviktori@redhat.com>2019-05-30 11:08:24 (GMT)
commit249b7d59d8038f9017fc95dc28a3ce3494aaf832 (patch)
treec7df4d0c071aa6dfda7086c87a6c5ecc176e1bc7 /Python/import.c
parentc145f3bfbe80d498d40848450d4d33c14e2cf782 (diff)
downloadcpython-249b7d59d8038f9017fc95dc28a3ce3494aaf832.zip
cpython-249b7d59d8038f9017fc95dc28a3ce3494aaf832.tar.gz
cpython-249b7d59d8038f9017fc95dc28a3ce3494aaf832.tar.bz2
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 41a5c01..ab7db6b 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
};