[issue992389] attribute error due to circular import
Nick Coghlan
report at bugs.python.org
Sun Oct 16 08:48:15 CEST 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Changed the issue title to state clearly that the core issue is with circular imports that attempt to reference module contents at import time, regardless of the syntactic form used. All of the following module level code can fail due to this problem:
from . import a
from package import submodule
from module import a
import module
module.a
----------
title: attribute error after non-from import -> attribute error due to circular import
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue992389>
_______________________________________
More information about the Python-bugs-list
mailing list