Message232871
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. |
|
Date |
User |
Action |
Args |
2014-12-18 12:02:11 | chris.jerdonek | set | recipients:
+ chris.jerdonek, docs@python |
2014-12-18 12:02:11 | chris.jerdonek | set | messageid: <1418904131.32.0.416083778815.issue23079@psf.upfronthosting.co.za> |
2014-12-18 12:02:11 | chris.jerdonek | link | issue23079 messages |
2014-12-18 12:02:10 | chris.jerdonek | create | |
|