Mercurial > cpython-lru_cache-weakref
comparison Python/graminit.c @ 18292:ffbb9c918ac0 legacy-trunk
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.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Tue, 26 Jun 2001 22:22:37 +0000 |
| parents | 7bc473b2c654 |
| children | f20727cc3d0f |
comparison
equal
deleted
inserted
replaced
| 18291:55f3a04e0641 | 18292:ffbb9c918ac0 |
|---|
