[Python-ideas] problems with import

Chris Angelico rosuav at gmail.com
Fri Jun 27 15:44:03 CEST 2014


On Fri, Jun 27, 2014 at 11:34 PM, Peter Otten <__peter__ at web.de> wrote:
> Isn't that addressed with "PEP 420 -- Implicit Namespace Packages?
>
> http://legacy.python.org/dev/peps/pep-0420/

Unfortunately for the OP, that doesn't seem to be applicable to Python
2.x; also, changes made to Python in response to this list don't
usually apply to 2.x either. Mercurial doesn't work with Python 3,
currently, although some of the improvements to the latest Pythons
have been in response to reported issues with hg, so it's possible
that hg might support 3.5 or 3.6 at some point.

I don't know if there's a 2.x-compatible solution to this problem.

ChrisA


More information about the Python-ideas mailing list