]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-foldin...
authorSteve Dower <steve.dower@python.org>
Fri, 10 Jun 2022 10:14:25 +0000 (11:14 +0100)
committerGitHub <noreply@github.com>
Fri, 10 Jun 2022 10:14:25 +0000 (11:14 +0100)
commit927b5afee73218500a8fa80df86216cfdc24ef5a
treedfe933ba27fa5ed684788f8beb1d413bc028e74e
parentf384a8e477a112d241650d5d4dc4042e7cd4c969
bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-93591)

* bpo-42658: Use LCMapStringEx in ntpath.normcase to match OS behaviour for case-folding (GH-32010)

* Use AsWideCharString to avoid memory leaks in deprectated unicode converter

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Lib/ntpath.py
Lib/test/test_ntpath.py
Misc/NEWS.d/next/Windows/2022-03-20-15-47-35.bpo-42658.16eXtb.rst [new file with mode: 0644]
Modules/_winapi.c
Modules/clinic/_winapi.c.h