From 249b7d59d8038f9017fc95dc28a3ce3494aaf832 Mon Sep 17 00:00:00 2001 From: Zackery Spytz Date: Thu, 30 May 2019 05:08:24 -0600 Subject: 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. --- Python/import.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'Python/import.c') 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 }; -- cgit v1.2.3