Message1699

Author marvingreenberg
Recipients
Date 2007-07-03.13:05:11
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
>>> import foo.bar
ImportError: No module named foo.bar
>>> import sys; sys.path.append('/Path/to/foo/module')
>>> import foo.bar
ImportError: No module named foo.bar

When run with -v option, the interpreter clearly shows that no lookup is attempted in the second case.

CPython behaves correctly for this case.
History
Date User Action Args
2008-02-20 17:17:52adminlinkissue1747092 messages
2008-02-20 17:17:52admincreate