Issue1747092

classification
Title: Failed imports should not be "cached"
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, marvingreenberg
Priority: normal Keywords:

Created on 2007-07-03.13:05:11 by marvingreenberg, last changed 2007-07-08.06:22:17 by cgroves.

Messages
msg1699 (view) Author: marvin greenberg (marvingreenberg) Date: 2007-07-03.13:05:11
>>> 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.
msg1700 (view) Author: marvin greenberg (marvingreenberg) Date: 2007-07-03.13:14:10
May be related to 1521362 and also to the failure of the second WORKROUND in 1692579
msg1701 (view) Author: Charlie Groves (cgroves) Date: 2007-07-08.06:22:17
Fixed in r3287.
History
Date User Action Args
2007-07-03 13:05:11marvingreenbergcreate