[Python-Dev] PEP 428 - pathlib
[Python-Dev] PEP 428 - pathlib - ready for approval
Ethan Furman ethan at stoneleaf.usWed Nov 20 15:01:04 CET 2013
- Previous message: [Python-Dev] PEP 428 - pathlib - ready for approval
- Next message: [Python-Dev] PEP 428 - pathlib - ready for approval
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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~
- Previous message: [Python-Dev] PEP 428 - pathlib - ready for approval
- Next message: [Python-Dev] PEP 428 - pathlib - ready for approval
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list