summaryrefslogtreecommitdiff
path: root/Objects/classobject.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-04-29 22:21:25 +0000
committerTim Peters <tim.peters@gmail.com>2001-04-29 22:21:25 +0000
commitcab3f68f612a7f088bed4005b335078a913b7b0f (patch)
treea30fe45bbaf73b6a6465fda392f29d439f4e1170 /Objects/classobject.c
parent748b8bbe020561cdb953b052f7f9d43be83d8081 (diff)
downloadcpython-git-cab3f68f612a7f088bed4005b335078a913b7b0f.tar.gz
SF bug #417093: Case sensitive import: dir and .py file w/ same name
Directory containing Spam.py spam/__init__.py Then "import Spam" caused a SystemError, because code checking for the existence of "Spam/__init__.py" finds it on a case-insensitive filesystem, but then bails because the directory it finds it in doesn't match case, and then old code assumed that was still an error even though it isn't anymore. Changed the code to just continue looking in this case (instead of calling it an error). So import Spam and import spam both work now.
Diffstat (limited to 'Objects/classobject.c')
0 files changed, 0 insertions, 0 deletions