[Python-Dev] posixpath.normpath

Thomas Wouters thomas@xs4all.net
Wed, 19 Jul 2000 08:13:00 +0200

On Tue, Jul 18, 2000 at 04:44:01PM +0300, Moshe Zadka wrote:

> a) posixpath.normpath("..") 


> b) posixpath.normpath("/..")

'/'. I *think* this is POSIXly defined, but I'm not sure. However, this is
the behaviour on all UNIX machines I've ever seen, and also in protocols
like HTTP that take a URL with forward slashes and possibly '..'s.

Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!