Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-42658: Using LCMapStringEx in ntpath.normcase #32010

Merged
python:main from
Jun 6, 2022
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.