[issue33547] Relative imports do not replace local variables

Rolf Campbell report at bugs.python.org
Thu May 24 08:00:50 EDT 2018


Rolf Campbell <thats.unpossible at gmail.com> added the comment:

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.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33547>
_______________________________________


More information about the Python-bugs-list mailing list