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 Rolf Campbell
Recipients Rolf Campbell, brett.cannon, eric.snow, ncoghlan, r.david.murray
Date 2018-05-24.12:00:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527163250.78.0.682650639539.issue33547@psf.upfronthosting.co.za>
In-reply-to
Content
Is there any way to use relative imports and explicitly request a sub-module?
From PEP 328: "import <> is always absolute"

So it sounds like there is no way to duplicate the explicit request for a sub-module when using relative imports.
History
Date User Action Args
2018-05-24 12:00:50Rolf Campbellsetrecipients: + Rolf Campbell, brett.cannon, ncoghlan, r.david.murray, eric.snow
2018-05-24 12:00:50Rolf Campbellsetmessageid: <1527163250.78.0.682650639539.issue33547@psf.upfronthosting.co.za>
2018-05-24 12:00:50Rolf Campbelllinkissue33547 messages
2018-05-24 12:00:50Rolf Campbellcreate