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/2001-January/012251.html below:

[Python-Dev] problems building Python 2.1a1 on QNX 4.25

[Python-Dev] problems building Python 2.1a1 on QNX 4.25 [Python-Dev] problems building Python 2.1a1 on QNX 4.25Fredrik Lundh fredrik@pythonware.com
Sun, 28 Jan 2001 10:37:45 +0100
guido wrote:

> > Revision 1.33 clearly leaves initial slashes untouched.
> > I guess we should restore this...
> 
> Yes, please!  (Just the "leading extra slashes stay" behavior.)

just looked this up in the specs, and POSIX seem to
require that leading slashes are preserved only if there
are exactly two of them:

    A pathname that begins with two successive slashes
    may be interpreted in an implementation-dependent
    manner, although more than two leading slashes are
    treated as a single slash.
    (from susv2)

maybe we should add a if len(slashes) > 2: slashes = "/"
test to the patch?

Cheers /F




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