diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-23 18:54:40 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-09-23 18:54:40 +0200 |
commit | bec278946d5b2e0b0b2ea661cbfdaf86fc996f9c (patch) | |
tree | d76adee8b0dee4620cb576e734b396b395fadefe /Python/errors.c | |
parent | 52524fbb51b75e41091051c0533f354bf01e6bee (diff) | |
download | cpython-bec278946d5b2e0b0b2ea661cbfdaf86fc996f9c.tar.gz |
Issue #7732: Don't open a directory as a file anymore while importing a
module. Ignore the direcotry if its name matchs the module name (e.g.
"__init__.py") and raise a ImportError instead.
Diffstat (limited to 'Python/errors.c')
0 files changed, 0 insertions, 0 deletions