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

Decorater report at bugs.python.org
Fri Jul 15 02:46:21 EDT 2016


Decorater added the comment:

I think on the 2nd example they did they got it wrong somewhat.
I think this is what they wanted.

>>> import email.charset; email.charset
<module 'email.charset' from 'C:\\Programs\\Python36\\lib\\email\\charset.py'>
>>> del email #to actually delete the whole thing.
>>> import email.charset; email.charset

----------
nosy: +Decorater

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


More information about the Python-bugs-list mailing list