Must create heaptypes with unicode names.

This commit is contained in:
Thomas Heller 2007-07-11 19:57:40 +00:00
parent acb470c05f
commit f630dac178
2 changed files with 15 additions and 8 deletions

View file

@ -575,7 +575,7 @@ PyErr_NewException(char *name, PyObject *base, PyObject *dict)
goto failure;
}
/* Create a real new-style class. */
result = PyObject_CallFunction((PyObject *)&PyType_Type, "sOO",
result = PyObject_CallFunction((PyObject *)&PyType_Type, "UOO",
dot+1, bases, dict);
failure:
Py_XDECREF(bases);