bpo-39573: Convert Py_TYPE() and Py_SIZE() back to macros (GH-23366)
This change partically reverts commit ad3252bad905d41635bcbb4b76db30d570cf0087 and the commit fe2978b3b940fe2478335e3a2ca5ad22338cdf9c. Many third party C extension modules rely on the ability of using Py_TYPE() to set an object type: "Py_TYPE(obj) = type;" or to set an object type using: "Py_SIZE(obj) = size;".
V
Victor Stinner committed
0e2ac21dd4960574e89561243763eabba685296a
Parent: 2156d96
Committed by GitHub <noreply@github.com>
on 11/18/2020, 5:48:06 PM