summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-09-23 16:54:40 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-09-23 16:54:40 (GMT)
commit53ffdc53bf0500e402682d1459a9a8d06573664c (patch)
tree8a31a9cea84833742ff378c663d5854dfe158746 /Modules
parentda6eb5305fabdf4a4dd48c010724bcdf962d1612 (diff)
downloadcpython-53ffdc53bf0500e402682d1459a9a8d06573664c.zip
cpython-53ffdc53bf0500e402682d1459a9a8d06573664c.tar.gz
cpython-53ffdc53bf0500e402682d1459a9a8d06573664c.tar.bz2
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 'Modules')
0 files changed, 0 insertions, 0 deletions