[Python-ideas] ‘os.path.foo’ function to get the name of a filesystem entry (was: [Python-Dev] os.path.normcase rationale?)

Ben Finney ben+python at benfinney.id.au
Sat Sep 25 16:00:57 CEST 2010

Antoine Pitrou <solipsis at pitrou.net>

> Again, why not simply improve realpath()?

Because that already does what it says it does.

The behaviour being asked for is distinct from what ‘os.path.normcase’
and ‘os.path.realpath’ are meant to do, so that behaviour belongs in a
different place from those two.

 \           “Value your freedom or you will lose it, teaches history. |
  `\     “Don't bother us with politics,” respond those who don't want |
_o__)                               to learn.” —Richard Stallman, 2002 |
Ben Finney

More information about the Python-ideas mailing list