eryksun added the comment:

The \\?\ extended-path prefix bypasses normal path processing. The path is 
passed directly to the filesystem driver. For example, to accommodate the POSIX 
namespace, NTFS allows any character except NUL and slash, so it happily 
creates a directory named "foo.". This name is invalid in the Win32 namespace. 

resolve() should skip calling _ext_to_normal on the result of _getfinalpathname 
if the input path is extended.

http://hg.python.org/cpython/file/c0e311e010fc/Lib/pathlib.py#l178

----------
nosy: +eryksun

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22299>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to