Antoine Pitrou added the comment: The behaviour is explained in the subject line and in the linked changeset: for some reason sys.flags and sys.float_info are explicitly wiped during shutdown. But those are simple immutable objects, there is no reason to wipe them.
The expected behaviour is, of course, that those objects keep their proper value during shutdown (e.g. when looked up from destructors). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20602> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com