summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/C API/2021-10-20-18-41-17.bpo-29103.CMRLyq.rst
blob: e923bfd3ae29354cb1d411e717c255277774f98b (plain)
1
2
3
:c:func:`PyType_FromSpec* <PyType_FromModuleAndSpec>` now copies the class name
from the spec to a buffer owned by the class, so the original can be safely
deallocated. Patch by Petr Viktorin.