[issue21672] Python for Windows 2.7.7: Path Configuration File No Longer Works With UNC Paths

Matt Mackall report at bugs.python.org
Wed Mar 4 20:23:54 CET 2015


Matt Mackall added the comment:

Changeset 26ec62 regressed Mercurial.

http://bz.selenic.com/show_bug.cgi?id=4557

Before:

>>> ntpath.join(r'\\foo\bar\baz', '')
'\\\\foo\\bar\\baz\\'
>>> ntpath.join(r'\\foo\bar', '')
'\\\\foo\\bar\\'

After:

>>> ntpath.join(r'\\foo\bar\baz', '')
'\\\\foo\\bar\\baz\\'
>>> ntpath.join(r'\\foo\bar', '')
'\\\\foo\\bar'

----------
nosy: +Matt.Mackall

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21672>
_______________________________________


More information about the Python-bugs-list mailing list