What's New in Python 3.3: complete the deprecation list
Add also FIXMEs in unicodeobject.c
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 2fea30b..aeccfe4 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -7042,6 +7042,7 @@
if (*v == NULL) {
/* Create unicode object */
+ /* FIXME: don't use _PyUnicode_New(), but allocate a wchar_t* buffer */
*v = (PyObject*)_PyUnicode_New(outsize);
if (*v == NULL)
return -1;
@@ -7122,6 +7123,7 @@
PyErr_NoMemory();
goto error;
}
+ /* FIXME: don't use _PyUnicode_New(), but allocate a wchar_t* buffer */
*v = (PyObject*)_PyUnicode_New(size * Py_ARRAY_LENGTH(buffer));
if (*v == NULL)
goto error;