1 parent e28108c commit 2652d25Copy full SHA for 2652d25
2 files changed
Misc/NEWS
@@ -10,6 +10,8 @@ What's New in Python 3.2.3?
10
Core and Builtins
11
-----------------
12
13
+- Issue #13908: Ready types returned from PyType_FromSpec.
14
+
15
- Issue #11235: Fix OverflowError when trying to import a source file whose
16
modification time doesn't fit in a 32-bit timestamp.
17
Objects/typeobject.c
@@ -2386,6 +2386,9 @@ PyType_FromSpec(PyType_Spec *spec)
2386
}
2387
2388
2389
+ if (PyType_Ready(&res->ht_type) < 0)
2390
+ goto fail;
2391
2392
return (PyObject*)res;
2393
2394
fail:
0 commit comments