diff options
author | neonene <53406459+neonene@users.noreply.github.com> | 2022-01-13 23:35:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 23:35:42 (GMT) |
commit | d4e64cd4b0ea431d4e371f9b0a25f6b75a069dc1 (patch) | |
tree | cecdf1d08cb790283d061b8263086354976c4939 /Misc | |
parent | b8ddf7e794e5316981016d6d014862e3c4ce149a (diff) | |
download | cpython-d4e64cd4b0ea431d4e371f9b0a25f6b75a069dc1.zip cpython-d4e64cd4b0ea431d4e371f9b0a25f6b75a069dc1.tar.gz cpython-d4e64cd4b0ea431d4e371f9b0a25f6b75a069dc1.tar.bz2 |
bpo-46362: Ensure ntpath.abspath() uses the Windows API correctly (GH-30571)
This makes ntpath.abspath()/getpath_abspath() follow normpath(), since some WinAPIs such as PathCchSkipRoot() require backslashed paths.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst b/Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst new file mode 100644 index 0000000..0b59cd2 --- /dev/null +++ b/Misc/NEWS.d/next/Windows/2022-01-13-22-31-09.bpo-46362.f2cuEb.rst @@ -0,0 +1,2 @@ +os.path.abspath("C:\CON") is now fixed to return "\\.\CON", not the same path.
+The regression was true of all legacy DOS devices such as COM1, LPT1, or NUL.
\ No newline at end of file |