[issue13187] relative imports don't work when circular

2011-10-15 Thread Nick Coghlan
Nick Coghlan added the comment: This is the same problem that all "from x import y" circular imports have - it isn't specific to relative imports. Closing as a duplicate of issue 992389 -- resolution: -> duplicate status: open -> closed superseder: -> attribute error after non-from

[issue13187] relative imports don't work when circular

2011-10-15 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue13187] relative imports don't work when circular

2011-10-15 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue13187] relative imports don't work when circular

2011-10-15 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue13187] relative imports don't work when circular

2011-10-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue13187] relative imports don't work when circular

2011-10-15 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is, to say the least, annoying. $ mkdir mypackage $ touch mypackage/__init__.py $ echo "from . import b" > mypackage/a.py $ echo "from . import a" > mypackage/b.py $ ./python -c "import mypackage.a" Traceback (most recent call last): File "", line 1, i