11 Mar 2017 11 Mar '17
Eryk Sun added the comment:
resolve() can't replace absolute(). They serve different purposes. Sometimes one wants an absolute path, but without resolving symbolic links.
absolute() processes a path as a string, which will continue to be true if it's updated to call nt._getfullpathname (GetFullPathName) on Windows. OTOH, resolve() can outright fail on Windows. I can write up a list of examples (I can think of 5 or 6 unhandled error codes), but it's not directly relevant to this issue.
---------- nosy: +eryksun
_______________________________________ Python tracker firstname.lastname@example.org http://bugs.python.org/issue29688 _______________________________________