Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 43755:704e6711e50d
Fixes for issue 1752184, ensuring type objects are always created
with a PyUnicode name.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 02 Nov 2007 23:07:07 +0000 |
| parents | 2f30bfb7c738 |
| children | ee081609cee8 |
line wrap: on
line diff
--- a/Python/errors.c Fri Nov 02 16:10:06 2007 +0000 +++ b/Python/errors.c Fri Nov 02 23:07:07 2007 +0000 @@ -608,7 +608,7 @@ 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);
