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 karkucik
Recipients karkucik, ncoghlan
Date 2019-04-08.09:14:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1554714846.79.0.0804606689666.issue36053@roundup.psfhosted.org>
In-reply-to
Content
Nick: From what I've checked, it jumps in case the module is already imported. The problem is that the original implementation is quite naive, and it's trying to import the module before looking for it in `sys.modules` - So if the module with a conflicting name is in PYTHONPATH and has higher priority, it'd be imported instead of the correct one. And then, as the module is imported, it'd be available in `sys.modules`.
History
Date User Action Args
2019-04-08 09:14:06karkuciksetrecipients: + karkucik, ncoghlan
2019-04-08 09:14:06karkuciksetmessageid: <1554714846.79.0.0804606689666.issue36053@roundup.psfhosted.org>
2019-04-08 09:14:06karkuciklinkissue36053 messages
2019-04-08 09:14:06karkucikcreate