This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients chris.jerdonek, docs@python
Date 2014-12-18.12:02:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418904131.32.0.416083778815.issue23079@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation for os.path.normcase(path) is currently confusing or self-contradictory.

Currently, it reads--

"Normalize the case of a pathname. On Unix and Mac OS X, this returns the path unchanged; on case-insensitive filesystems, it converts the path to lowercase."

However, with a case-insensitive file system on Mac OS X (e.g. "File System Personality: Journaled HFS+"), normcase() does not convert paths to lowercase.

As it stands, it seems like the clause "on case-insensitive filesystems, it converts the path to lowercase" should be removed or further qualified.  I don't know what the qualification is though.
History
Date User Action Args
2014-12-18 12:02:11chris.jerdoneksetrecipients: + chris.jerdonek, docs@python
2014-12-18 12:02:11chris.jerdoneksetmessageid: <1418904131.32.0.416083778815.issue23079@psf.upfronthosting.co.za>
2014-12-18 12:02:11chris.jerdoneklinkissue23079 messages
2014-12-18 12:02:10chris.jerdonekcreate