mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
ready types returned from PyType_FromSpec
This commit is contained in:
parent
e28108cbd7
commit
2652d2570e
2 changed files with 5 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ What's New in Python 3.2.3?
|
||||||
Core and Builtins
|
Core and Builtins
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- Issue #13908: Ready types returned from PyType_FromSpec.
|
||||||
|
|
||||||
- Issue #11235: Fix OverflowError when trying to import a source file whose
|
- Issue #11235: Fix OverflowError when trying to import a source file whose
|
||||||
modification time doesn't fit in a 32-bit timestamp.
|
modification time doesn't fit in a 32-bit timestamp.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2386,6 +2386,9 @@ PyType_FromSpec(PyType_Spec *spec)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (PyType_Ready(&res->ht_type) < 0)
|
||||||
|
goto fail;
|
||||||
|
|
||||||
return (PyObject*)res;
|
return (PyObject*)res;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue