diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-04-27 14:24:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 14:24:31 (GMT) |
commit | 91a5ae18351027867e99c96db5ea235d9c42e47a (patch) | |
tree | 059fcf1982a6bfa6fbc751a064571c1e8a4bf03d /Misc | |
parent | 0169d3003be3d072751dd14a5c84748ab63a249f (diff) | |
download | cpython-91a5ae18351027867e99c96db5ea235d9c42e47a.zip cpython-91a5ae18351027867e99c96db5ea235d9c42e47a.tar.gz cpython-91a5ae18351027867e99c96db5ea235d9c42e47a.tar.bz2 |
bpo-40217: Clean code in PyType_FromSpec_Alloc and add NEWS entry (GH-19733)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2020-04-27-14-00-38.bpo-40217.sgn6c8.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-04-27-14-00-38.bpo-40217.sgn6c8.rst b/Misc/NEWS.d/next/C API/2020-04-27-14-00-38.bpo-40217.sgn6c8.rst new file mode 100644 index 0000000..72df4a7 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2020-04-27-14-00-38.bpo-40217.sgn6c8.rst @@ -0,0 +1,5 @@ +Ensure that instances of types created with +:c:func:`PyType_FromSpecWithBases` will visit its class object when +traversing references in the garbage collector (implemented as an extension +of the provided :c:member:`~PyTypeObject.tp_traverse`). Patch by Pablo +Galindo. |