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

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


R. David Murray added the comment:

Or, to put it another way, you deleted the charset attribute from the email module.  On the second import, import finds email in sys.modules, so it doesn't reimport it, so charset doesn't get recreated.  So, the difference is you didn't do 'del email'.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list