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 <1623331590.17.0.704234504695.issue44378@roundup.psfhosted.org>
In-reply-to
Content
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*"):
https://github.com/python/cpython/commit/f3fa63ec75fdbb4a08a10957a5c631bf0c4a5970

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