On Mon, Oct 28, 2013 at 12:45 PM, Victor Stinner <victor.stin...@gmail.com> wrote: > I propose to block importing new modules (or import again unloaded > modules) during Python finalization to avoid such tricky bugs.
Alternatively, we could set sys.modules[name] to None for each builtin/frozen module when they get finalized. This will prevent importing those modules afterward. -eric _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com