[Martijn Faassen] > Yes, I'm doing something much like that and it works fine on Linux. I'm > just wondering how this de-confuses Python's import system on a > case-insensitive file system.
Python imports are case-sensitive on all platforms (this wasn't always true, but is true in recent Pythons). What's impossible in a case-insensitive filesystem is having two things (files or directories) in the same directory whose names differ only in case. I'm not sure that answers your question, but since it's the only answer there is, you'll have to adjust your question to match <wink>. To get concrete, if sys.path is ['/A', '/B'], files /A/Hello.py and /B/HellO.py exist, A and B are otherwise empty, and you do import HellO then /B/HellO.py will get loaded, Windows or not, and import hello will fail, also Windows or not. _______________________________________________ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )