[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Ned Deily
Ned Deily added the comment: The misleading "TODO" comment has been removed. -- resolution: accepted -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset a854d23305de by Ned Deily in branch '3.4': Issue #3485: remove misleading comment http://hg.python.org/cpython/rev/a854d23305de New changeset 3edda677119e by Ned Deily in branch 'default': Issue #3485: merge from 3.4 http://hg.python.org/cpython/rev

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2014-06-18 Thread Mark Lawrence
Mark Lawrence added the comment: Is this or could this be addressed via the new pathlib module? -- nosy: +BreamoreBoy ___ Python tracker ___ __

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-07-08 Thread Matthieu Labbé
Changes by Matthieu Labbé : -- nosy: +matthieu.labbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-07-07 Thread Ronald Oussoren
Ronald Oussoren added the comment: Note that this does not just affect MacOSX, this even affects Linux (although the behaviour on the default filesystems is different). On Linux the default is case-sensitive filesystems, but you can use network filesystems that have case-insensitive behavior,

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-06-27 Thread Ezio Melotti
Ezio Melotti added the comment: Changing the function is better than changing the comment. Although changing just the comment is better than leaving it unchanged. -- versions: +Python 3.2 -Python 2.5 ___ Python tracker

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-06-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The comment is wrong, os.path.normcase should not return s.lower(), as the other issue notes the case sensitivity is filesystem dependent. Returning s.lower() will break code when dealing with paths that refer to an NFS share on a Linux server, or to a pat

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2010-06-25 Thread Ezio Melotti
Ezio Melotti added the comment: I'm reopening this because now the normcase implementation of posixpath has a todo that says "on Mac OS X, this should really return s.lower()." (see r66743). There is some discussion about this in #9018. -- nosy: +ezio.melotti status: closed -> open __

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2009-03-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've committed a fix for this in r70746 and ported this to 3.1 and 2.6 as well. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2009-03-30 Thread Ronald Oussoren
Ronald Oussoren added the comment: The following patch explicitly mentions that os.path.normcase treats OSX like any other Unix platform. I'm in favor of applying this. -- keywords: +patch nosy: +ronaldoussoren versions: +Python 2.6, Python 2.7, Python 3.1 Added file: http://bugs.pyth

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2008-08-01 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: On Windows, case-insensitivity is part of the API, not of the file system. NTFS itself is case-sensitive, and there are case-sensitive subsystems on top of it (e.g. the POSIX subsystem, Interix). Win32, when calling the file system, asks for

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2008-08-01 Thread Isaac Morland
Isaac Morland <[EMAIL PROTECTED]> added the comment: Ok, good point. Perhaps the documentation should be updated to clarify that Mac OS is treated as Unix even though a default Mac OS X installation will have a case-insensitive file system. Wouldn't it be possible for a Windows machine to have

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2008-08-01 Thread Ned Deily
Ned Deily <[EMAIL PROTECTED]> added the comment: "Of course, Mac OS X is both Unix and case-insensitive" Not so. Case-{in|}sensitivity is an attribute of HFS+ file systems that is specifiable when a file system is created; it's true that the default is still case-insensitive. There are also ot

[issue3485] os.path.normcase documentation/behaviour unclear on Mac OS X

2008-08-01 Thread Isaac Morland
New submission from Isaac Morland <[EMAIL PROTECTED]>: $ python Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from os.path import normcase >>> normcase ('aB') 'aB' >>> >Fr