[issue8389] Incomprehensible import error

2010-04-14 Thread Brett Cannon
Brett Cannon added the comment: First off, the 'as' clause is not influencing anything; simply try to assign ``t = a.b.t`` and you still get the error. Second, you are trying to reference a.b in a.b.c through your a.b.t import before a.b has finished importing. This is causing the import syst

[issue8389] Incomprehensible import error

2010-04-14 Thread Ray.Allen
Ray.Allen added the comment: The 'as' trigger some more instructions after import, not just renaming the loaded file name, to be specific in your example is, load attribute 'b' from 'a', and then load attribute 'c' from 'b'. 'import a.b.t' do import a.b.t and then just store 'a' in local name

[issue8389] Incomprehensible import error

2010-04-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue8389] Incomprehensible import error

2010-04-13 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- title: Incomprehensibly import error -> Incomprehensible import error ___ Python tracker ___ ___ Pyth