This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2021-06-10.13:26:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Comment from my PR:

// bpo-44378: Don't use Py_TYPE() since Py_TYPE() requires a non-const
// object.

By the way, I wrote a change in Python 3.11 to convert Py_TYPE() macro into a static inline function which accepts a *const* PyObject pointer ("const PyObject*"):

But this change had to be reverted since it caused a buildbot regression (bpo-44348).
Date User Action Args
2021-06-10 13:26:30vstinnersetrecipients: + vstinner
2021-06-10 13:26:30vstinnersetmessageid: <>
2021-06-10 13:26:30vstinnerlinkissue44378 messages
2021-06-10 13:26:30vstinnercreate