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 BTaskaya, WildCard65, ZackerySpytz, corona10, erlendaasland, hroncok, kj, nascheme, pablogsal, ronaldoussoren, serhiy.storchaka, shihai1991, steve.dower, vstinner
Date 2021-06-10.13:27:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623331648.32.0.184139931956.issue39573@roundup.psfhosted.org>
In-reply-to
Content
See also bpo-44378: "Py_IS_TYPE(): cast discards ‘const’ qualifier from pointer target type".

If Py_TYPE() is converted again to a static inline function which takes a "const PyObject*" type, Py_IS_TYPE() can be modified again at the same time to use Py_TYPE().
History
Date User Action Args
2021-06-10 13:27:28vstinnersetrecipients: + vstinner, nascheme, ronaldoussoren, serhiy.storchaka, steve.dower, hroncok, corona10, ZackerySpytz, pablogsal, WildCard65, BTaskaya, shihai1991, erlendaasland, kj
2021-06-10 13:27:28vstinnersetmessageid: <1623331648.32.0.184139931956.issue39573@roundup.psfhosted.org>
2021-06-10 13:27:28vstinnerlinkissue39573 messages
2021-06-10 13:27:28vstinnercreate