[Python-Dev] posixpath module.

Fred L. Drake, Jr. fdrake@beopen.com
Fri, 14 Jul 2000 19:52:50 -0400 (EDT)

Alex Coventry writes:
 > I would have thought '/' would be a better result to return.  My

  I agree, feel free to propose a patch!

 > impression was that normpath is used to tell whether two paths are
 > actually the same, and if that's the case, its current behaviour is
 > going to give false negatives.  On the other hand, the code seems to
 > explicitly ignore multiple leading /'s, and that will also give some
 > false mismatches, so I must be confused somewhere...

  I'd call that a bug until someone can justify the current behavior.
I'd love to see a patch for that as well.


Fred L. Drake, Jr.  <fdrake at beopen.com>
BeOpen PythonLabs Team Member