]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Support using UCS-4 as the Py_UNICODE type:
authorMartin v. Löwis <martin@v.loewis.de>
Tue, 26 Jun 2001 22:22:37 +0000 (22:22 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Tue, 26 Jun 2001 22:22:37 +0000 (22:22 +0000)
commit0ba70cc3c893f70cc9deb09447277539d7625403
treef26c28cc3ad9c594683c7c04e5b06786471d395c
parentff1cc902fe80605fbc7d5fee8226e4c26832c5a9
Support using UCS-4 as the Py_UNICODE type:
Add configure option --enable-unicode.
Add config.h macros Py_USING_UNICODE, PY_UNICODE_TYPE, Py_UNICODE_SIZE,
                    SIZEOF_WCHAR_T.
Define Py_UCS2.
Encode and decode large UTF-8 characters into single Py_UNICODE values
for wide Unicode types; likewise for UTF-16.
Remove test whether sizeof Py_UNICODE is two.
Include/unicodeobject.h
Objects/unicodeobject.c
Python/bltinmodule.c
acconfig.h
config.h.in
configure
configure.in