homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dcjim
Recipients
Date 2004年07月16日.15:09:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This bug applied to 2.3 and 2.4. It probably applies to
earlier versions, but who cares? :)
Under some circumstances, code like:
 import eek.foo.baz
 y = eek.foo.baz.y
fails with an attribute error for "foo" if foo is still
being imported.
I've attached a zip file of a demo package "eek" that
demonstrates the problem. If you unzip the package and:
 import eek.foo
you'll get the attribute error described above.
I think the problem is that eek's foo attribute isn't
set until the import of foo is finished. This is too late.
History
Date User Action Args
2007年08月23日 14:23:49adminlinkissue992389 messages
2007年08月23日 14:23:49admincreate

AltStyle によって変換されたページ (->オリジナル) /