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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4