This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry, brett.cannon
Date 2015-04-22.17:50:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429725052.67.0.961207229221.issue24029@psf.upfronthosting.co.za>
In-reply-to
Content
More rationale from the thread:

> The surprising part is that it also happens for explicit relative
> imports.  I'm guessing that part was unintentional and simply not
> noticed when PEP 328 was implemented.
>  

No, that must also have been intentional, because even when you use
relative import, the module you imported knows its full name, and that full
name is used as its key in sys.modules. If someone else uses absolute
import for the same module they should still get the same module object.
History
Date User Action Args
2015-04-22 17:50:52barrysetrecipients: + barry, brett.cannon
2015-04-22 17:50:52barrysetmessageid: <1429725052.67.0.961207229221.issue24029@psf.upfronthosting.co.za>
2015-04-22 17:50:52barrylinkissue24029 messages
2015-04-22 17:50:52barrycreate