Visitar URL original
bpo-42658: Using LCMapStringEx in ntpath.normcase by aisk · Pull Request #32010 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update news
  • Loading branch information
aisk committed Jun 4, 2022
commit d43037162a684443c171307697c28238e93b13b5
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Using Windows function ``LCMapStringEx`` in :func:``ntpath.normcase`` instead
of :func:``str.lower`` to deal with non ASCII characters. The ``LCMapStringEx``
is added in :mod:``_winapi`` module also.
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.