On Wed, 19 Jul 2000, Thomas Wouters wrote: > 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. OK. I've posted a patch which corrects posixpath.normpath and competes with 100900. Now Skip gets to decide which of them he likes better... -- 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