• Tim Peters's avatar
    SF bug #417093: Case sensitive import: dir and .py file w/ same name · cab3f68f
    Tim Peters yazdı
    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.
    cab3f68f
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...