diff options
author | Zackery Spytz <zspytz@gmail.com> | 2019-05-30 11:08:24 (GMT) |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2019-05-30 11:08:24 (GMT) |
commit | 249b7d59d8038f9017fc95dc28a3ce3494aaf832 (patch) | |
tree | c7df4d0c071aa6dfda7086c87a6c5ecc176e1bc7 /Python/import.c | |
parent | c145f3bfbe80d498d40848450d4d33c14e2cf782 (diff) | |
download | cpython-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.c | 2 |
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 }; |