[Python-Dev] posixpath.normpath

Jack Jansen jack@oratrix.nl
Wed, 19 Jul 2000 00:09:39 +0200


Recently, Moshe Zadka <moshez@math.huji.ac.il> said:
> Simple question: what should 
> 
> a) posixpath.normpath("..") 

..

What else could it return?

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

This I'm a bit less sure about. Does anyone remember the Newcastle
Connection a.k.a Unix United? It was a distributed filesystem where
other hosts were reachable through /.. . Think of something analogous
to going from foo.bar.nl to the root of bletch.bar.nl by doing
/../bletch/ .

The newcastle connection is long dead (at least, I assume it is) but
unless the Posix standard unequivocally specifies that /.. == /. I
think I'd keep it as-is.
--
Jack Jansen             | ++++ stop the execution of Mumia Abu-Jamal ++++
Jack.Jansen@oratrix.com | ++++ if you agree copy these lines to your sig ++++
www.oratrix.nl/~jack    | see http://www.xs4all.nl/~tank/spg-l/sigaction.htm