[docs] [issue25294] Absolute imports fail in some cases where relative imports would work

Nick Coghlan report at bugs.python.org
Sun Oct 4 05:43:37 CEST 2015


Nick Coghlan added the comment:

If that's the concern, then the relevant guidance is to avoid running code
at package import time (which many new developers will now do by default
with __init__.py becoming optional).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25294>
_______________________________________


More information about the docs mailing list