Message140321
Yeah, I missed the line where he imported foo.bar in "foo/__init__.py", and thought something else was going on.
"foo/__init__.py" does not have to finish importing (just has to be on sys.modules) at the point foo.bar is imported. So foo.bar would be completely imported before the "1/0" expression was evaluated, and you are exactly right, David.
Sorry for adding to the confusion. |
|
Date |
User |
Action |
Args |
2011-07-14 03:20:15 | eric.snow | set | recipients:
+ eric.snow, r.david.murray, Calvin.Spealman |
2011-07-14 03:20:15 | eric.snow | set | messageid: <1310613615.84.0.923104870496.issue12554@psf.upfronthosting.co.za> |
2011-07-14 03:20:15 | eric.snow | link | issue12554 messages |
2011-07-14 03:20:15 | eric.snow | create | |
|