File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -798,6 +798,8 @@ Unicode functions and methods using :c:type:`Py_UNICODE` and
798798 strings)
799799 * :c:func: `PyUnicode_AsUnicodeCopy `: use :c:func: `PyUnicode_AsUCS4Copy ` or
800800 :c:func: `PyUnicode_AsWideCharString `
801+ * :c:func: `PyUnicode_GetMax `
802+
801803
802804Functions and macros manipulating Py_UNICODE* strings:
803805
@@ -813,6 +815,7 @@ Functions and macros manipulating Py_UNICODE* strings:
813815 * :c:macro: `Py_UNICODE_strchr `, :c:macro: `Py_UNICODE_strrchr `: use
814816 :c:func: `PyUnicode_FindChar `
815817 * :c:macro: `Py_UNICODE_FILL `
818+ * :c:macro: `Py_UNICODE_MATCH `
816819
817820Encoders:
818821
Original file line number Diff line number Diff line change @@ -7042,6 +7042,7 @@ decode_code_page_strict(UINT code_page,
70427042
70437043 if (* v == NULL ) {
70447044 /* Create unicode object */
7045+ /* FIXME: don't use _PyUnicode_New(), but allocate a wchar_t* buffer */
70457046 * v = (PyObject * )_PyUnicode_New (outsize );
70467047 if (* v == NULL )
70477048 return -1 ;
@@ -7122,6 +7123,7 @@ decode_code_page_errors(UINT code_page,
71227123 PyErr_NoMemory ();
71237124 goto error ;
71247125 }
7126+ /* FIXME: don't use _PyUnicode_New(), but allocate a wchar_t* buffer */
71257127 * v = (PyObject * )_PyUnicode_New (size * Py_ARRAY_LENGTH (buffer ));
71267128 if (* v == NULL )
71277129 goto error ;
You can’t perform that action at this time.
0 commit comments