[Python-Dev] posixpath.normpath

Moshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Wed, 19 Jul 2000 07:28:00 +0300 (IDT)


On Wed, 19 Jul 2000, Jack Jansen wrote:

> 
> 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.

Reason I'm asking: I don't like the posixpath.normpath patch, and
thinking of rewriting it into a competitor. 
Those two sound reasonable, but I'll wait for more opinions...
--
Moshe Zadka <moshez@math.huji.ac.il>
There is no GOD but Python, and HTTP is its prophet.
http://advogato.org/person/moshez