R. David Murray added the comment:

Note that conceptually this is closely related to issue 27515.  In both cases 
the conceptual problem (the thing that trips up user expectations) is that what 
import does to the namespaces differs depending on whether the base module 
exists in sys.modules or not.  I don't know that there is a fix, but it is 
certainly an inconsistency that causes mental hiccoughs.

----------

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

Reply via email to