Nick Coghlan <ncogh...@gmail.com> added the comment:

In #14035, Florent pointed out the current behaviour potentially causes 
problems for some uses of import_fresh_modules() in the test suite (with 
globals sometimes being set to None if there's no indepenent reference to the 
module).

GC based module cleanup would avoid that problem automatically.

----------
nosy: +ncoghlan

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue812369>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to