On 11/20/2013 04:25 AM, Garth Bushell wrote:
I'm also quite uneasy on the case insensitive comparison on Windows as the File system NTFS is case sensitive.
No, it's case-preserving.
"""Current Windows file systems, like NTFS, are case-sensitive; that is a readme.txt and a Readme.txt can exist in the same directory. Windows disallows the user to create a second file differing only in case due to compatibility issues with older software not designed for such operation.""" (http://en.wikipedia.org/wiki/Case_sensitivity)
I just did some tests on my Win7 NTFS file system and I was unable to get two files in the same directory which differed only by case using either cmd or explorer.
If people create .PY files it wouldn't work on Linux so why make it work on windows?
Because it *does* work on windows. c:\temp > copy con: hello.PY print "Hello World!" ^Z c:\temp > \python273\python --> import hello Hello World! Just one of the many things to be aware of if attempting to write cross-platform code. -- ~Ethan~ _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com