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.
This commit is contained in:
Zackery Spytz 2019-05-30 05:08:24 -06:00 committed by Petr Viktorin
parent c145f3bfbe
commit 249b7d59d8
3 changed files with 18 additions and 2 deletions

View file

@ -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
};