[issue27515] Dotted name re-import does not rebind after deletion

R. David Murray report at bugs.python.org
Thu Jul 14 17:14:25 EDT 2016


R. David Murray added the comment:

So, Guido answered your actual question, and I was confused :(  The important point is that email.charset still exists in sys.modules, so import doesn't reload it, and as Guido says module load is the thing that creates the attribute mapping.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27515>
_______________________________________


More information about the Python-bugs-list mailing list