[Python-Dev] os.path.normcase rationale?
solipsis at pitrou.net
Fri Sep 24 16:35:43 CEST 2010
On Fri, 24 Sep 2010 07:29:40 -0700
Guido van Rossum <guido at python.org> wrote:
> It will have to be a new API -- normcase() at
> least is *intended* to return a case-flattened name on OSes where
> case-preserving filesystems are the default, and changing it to look
> at the filesystem would break too much code. For a new use case we
> need a new API.
realpath() sounds like the proper API for that. It just needs to have a
better implementation :)
More information about the Python-Dev