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/012220.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.25M.-A. Lemburg mal@lemburg.com
Fri, 26 Jan 2001 23:15:09 +0100
"Andrew M. Kuchling" wrote:
> >The QNX node number prefix '//5' (machine or host number, equivalent to a
> >'hostname:' prefix for network paths) is being reduced somehow (path
> >normalization?) to '/5', so paths don't resolve. 2 slashes ('//') are
> >required at the head of the path. Is this something that can be fixed?
> 
> Ooh, very likely:
> >>> os.path.normpath('//5/foo/bar')
> '/5/foo/bar'
> 
> Isn't // at the root a Unix convention of some sort for some
> network filesystems?  Probably normpath() should just leave it alone.

Samba uses //<hostname>/<mountname>/<path>. os.path.normpath()
should probably leave the leading '//' untouched (having too
many of those in the path doesn't do any harm, AFAIK).
 
-- 
Marc-Andre Lemburg
______________________________________________________________________
Company:                                        http://www.egenix.com/
Consulting:                                    http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/



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