[issue11742] Possible bug in Python/import.c

2011-04-03 Thread Brett Cannon
Brett Cannon added the comment: Thanks for the report, but this has been fixed in the code repo. -- nosy: +brett.cannon resolution: -> out of date status: open -> closed ___ Python tracker ___

[issue11742] Possible bug in Python/import.c

2011-04-02 Thread Andrew Sommerville
New submission from Andrew Sommerville : Around line 1509 in Python/import.c, function "find_module", the importer is trying to fail with "No module named...". It is possible for "fp" to be NULL and "fdp" (the return value) to be non-NULL, which callers would see as success. Solution: add "fdp