[Python-Dev] question/comment about documentation of relative imports (original) (raw)
Simon Cross hodgestar+pythondev at gmail.com
Tue Oct 5 18:13:01 CEST 2010
- Previous message: [Python-Dev] question/comment about documentation of relative imports
- Next message: [Python-Dev] question/comment about documentation of relative imports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Schiavo Simon
- Previous message: [Python-Dev] question/comment about documentation of relative imports
- Next message: [Python-Dev] question/comment about documentation of relative imports
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]