summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAN Long <aisk@users.noreply.github.com>2022-06-06 23:47:27 (GMT)
committerGitHub <noreply@github.com>2022-06-06 23:47:27 (GMT)
commit3256b178ed31ee8ed0c04a6e53f67d1ef96cb746 (patch)
treee7a0159b366291d657ebe5c101cbc46513b91850 /Misc
parentbb0b7689465c3aac3b1d7f68c8990009462c1ae5 (diff)
downloadcpython-3256b178ed31ee8ed0c04a6e53f67d1ef96cb746.zip
cpython-3256b178ed31ee8ed0c04a6e53f67d1ef96cb746.tar.gz
cpython-3256b178ed31ee8ed0c04a6e53f67d1ef96cb746.tar.bz2
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-32010)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Windows/2022-03-20-15-47-35.bpo-42658.16eXtb.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2022-03-20-15-47-35.bpo-42658.16eXtb.rst b/Misc/NEWS.d/next/Windows/2022-03-20-15-47-35.bpo-42658.16eXtb.rst
new file mode 100644
index 0000000..852cc77
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2022-03-20-15-47-35.bpo-42658.16eXtb.rst
@@ -0,0 +1,3 @@
+Support native Windows case-insensitive path comparisons by using
+``LCMapStringEx`` instead of :func:`str.lower` in :func:`ntpath.normcase`.
+Add ``LCMapStringEx`` to the :mod:`_winapi` module.