A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006942.html below:

[Python-Dev] posixpath.normpath

[Python-Dev] posixpath.normpathMoshe Zadka Moshe Zadka <moshez@math.huji.ac.il>
Wed, 19 Jul 2000 09:14:52 +0300 (IDT)
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