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 corona10, nascheme, petdance, serhiy.storchaka, shihai1991, steve.dower, vstinner
Date 2020-02-17.09:48:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581932931.8.0.052770351438.issue39573@roundup.psfhosted.org>
In-reply-to
Content
> Getting away from Py_TYPE(op) would also mean a move to making the internals const-correct.

Would you mind to explain how it's an issue to modify PyObject* temporarily during a function call? It's common to increase the object reference count to ensure that it doesn't go even while we use it.
History
Date User Action Args
2020-02-17 09:48:51vstinnersetrecipients: + vstinner, nascheme, serhiy.storchaka, steve.dower, corona10, shihai1991, petdance
2020-02-17 09:48:51vstinnersetmessageid: <1581932931.8.0.052770351438.issue39573@roundup.psfhosted.org>
2020-02-17 09:48:51vstinnerlinkissue39573 messages
2020-02-17 09:48:51vstinnercreate