os.path.normpath()

Fredrik Lundh fredrik at effbot.org
Sun Jan 28 04:40:22 EST 2001


Gawain Bolton wrote:
> I downloaded and compiled Python 2.0 for Sun and found that normpath() in
> Python 2.0 does not suffer from these problems!  Therefore, this must be in a
> bug Python 1.5 and 1.5.2 and probably earlier versions as well.

It's a bug in 2.0.  It'll be fixed in 2.1.

And it's not a problem -- this behaviour is required by the
POSIX standard.  Implementations are free to use this form
for e.g. host name prefixes, node numbers, etc.

Cheers /F





More information about the Python-list mailing list