summaryrefslogtreecommitdiff
path: root/Python/errors.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-23 18:54:40 +0200
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-23 18:54:40 +0200
commitbec278946d5b2e0b0b2ea661cbfdaf86fc996f9c (patch)
treed76adee8b0dee4620cb576e734b396b395fadefe /Python/errors.c
parent52524fbb51b75e41091051c0533f354bf01e6bee (diff)
downloadcpython-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