[New-bugs-announce] [issue34949] ntpath.abspath no longer uses normpath

joshu coats report at bugs.python.org
Tue Oct 9 22:41:14 EDT 2018


New submission from joshu coats <python at fearchar.net>:

After the changes from https://github.com/python/cpython/pull/8544, ntpath.abspath no longer calls normpath on the output of nt._getfullpathname. This unfortunately causes "python setup.py develop" on a project to become upset in some instances because two paths (which should be equal) differ by a trailing slash.

Presumably this could be corrected by updating https://github.com/python/cpython/blob/0185f34ddcf07b78feb6ac666fbfd4615d26b028/Lib/ntpath.py#L526 to use normpath when it calls _getfullpathname.

----------
components: Library (Lib), Windows
messages: 327452
nosy: paul.moore, rhwlo, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: ntpath.abspath no longer uses normpath
type: behavior
versions: Python 3.6, Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34949>
_______________________________________


More information about the New-bugs-announce mailing list