[issue15286] normpath does not work with local literal paths

Eryk Sun report at bugs.python.org
Sun Mar 21 19:12:21 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

This old issue still needs to be fixed. The check for special_prefixes in ntpath.normpath() must be removed in order to be consistent with WinAPI GetFullPathNameW(). In Windows, one can just call ntpath.abspath() to ensure that nt._getfullpathname() is called. But "Lib/ntpath.py" is cross-platform.

----------
assignee: brian.curtin -> 
components: +Library (Lib)
nosy: +paul.moore, steve.dower, zach.ware
stage: patch review -> needs patch
versions: +Python 3.10, Python 3.9 -Python 3.7

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


More information about the Python-bugs-list mailing list