Message186922
On Sun, Apr 14, 2013 at 3:51 AM, Nick Coghlan <report@bugs.python.org> wrote:
> Your analysis is one of the pieces that was missing,
Unfortunately, I just noticed it's actually incorrect in a pretty
important part In my original example, I said, "because of the
circularity, this will *also* happen if you import 'a' first." This
statement is actually false. Importing 'a' first in that example will
result in a.util == b.util:util, not a.util=b.util. I made the
mistake because I was for some reason thinking that 'a' was going to
execute its import while being imported from b.util, and in that
scenario it will not.
That means there *is* an ordering dependency, and an ambiguity like
this one can lie dormant until long after you've introduced the
circularity. :-( |
|
Date |
User |
Action |
Args |
2013-04-14 14:34:58 | pje | set | recipients:
+ pje, barry, brett.cannon, ncoghlan, kristjan.jonsson, methane, eric.snow, pconnell, isoschiz |
2013-04-14 14:34:58 | pje | link | issue17636 messages |
2013-04-14 14:34:58 | pje | create | |
|