]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36346: Make using the legacy Unicode C API optional (GH-21437)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 10 Jul 2020 20:26:06 +0000 (23:26 +0300)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2020 20:26:06 +0000 (23:26 +0300)
commit4c8f09d7cef8c7aa07d5b5232b5b64f63819a743
tree2d90e13b6dc939f019a6cafc45ea604cbb90f584
parent9650fe0197779b4dfded94be111e39c5810f098f
bpo-36346: Make using the legacy Unicode C API optional (GH-21437)

Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0
makes the interpreter not using the wchar_t cache and the legacy Unicode C API.
17 files changed:
Include/cpython/unicodeobject.h
Lib/test/support/__init__.py
Lib/test/test_csv.py
Lib/test/test_decimal.py
Lib/test/test_getargs2.py
Lib/test/test_unicode.py
Modules/_io/fileio.c
Modules/_testcapimodule.c
Modules/_winapi.c
Modules/clinic/_winapi.c.h
Modules/overlapped.c
Modules/posixmodule.c
Objects/unicodeobject.c
PC/clinic/winreg.c.h
PC/winreg.c
Python/dynload_win.c
Python/fileutils.c