Commit 3ed0acce authored by Thomas Heller's avatar Thomas Heller

Must create heaptypes with unicode names.

parent ace8ba8d
...@@ -3985,11 +3985,7 @@ CreateArrayType(PyObject *itemtype, Py_ssize_t length) ...@@ -3985,11 +3985,7 @@ CreateArrayType(PyObject *itemtype, Py_ssize_t length)
#endif #endif
result = PyObject_CallFunction((PyObject *)&ArrayType_Type, result = PyObject_CallFunction((PyObject *)&ArrayType_Type,
#if (PY_VERSION_HEX < 0x02050000) "U(O){s:n,s:O}",
"s(O){s:i,s:O}",
#else
"s(O){s:n,s:O}",
#endif
name, name,
&Array_Type, &Array_Type,
"_length_", "_length_",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment