classification
Title: ntpath.abspath no longer uses normpath
Type: behavior Stage:
Components: Library (Lib), Windows Versions: Python 3.7, Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, rhwlo, steve.dower, tim.golden, zach.ware
Priority: normal Keywords:

Created on 2018-10-10 02:41 by rhwlo, last changed 2018-10-10 02:41 by rhwlo.

Messages (1)
msg327452 - (view) Author: joshu coats (rhwlo) Date: 2018-10-10 02:41
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.
History
Date User Action Args
2018-10-10 02:41:14rhwlocreate