[Python-Dev] question/comment about documentation of relative imports

Simon Cross hodgestar+pythondev at gmail.com
Tue Oct 5 18:13:01 CEST 2010

On Tue, Oct 5, 2010 at 4:56 PM, Darren Dale <dsdale24 at gmail.com> wrote:
>   from ...sys import path
>   Note that while that last case is legal, it is certainly
> discouraged ("insane" was the word Guido used).

Only if by "legal" you mean "happened to work". It stops "happening to
work" in Python 2.6.6. :)

Generally I'm +0 on relative imports as a whole.


More information about the Python-Dev mailing list