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 Mark.Shannon, kj, vstinner
Date 2022-03-31.07:27:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
After reading Mark's comments, I reworked my GH-32190 PR to only use the CAST macros in other macros, not in the C code. The CAST macros are not used in such code pattern:

     else if (PyCFunction_Check(func))
-        return ((PyCFunctionObject*)func)->m_ml->ml_name;
+        return _PyCFunctionObject_CAST(func)->m_ml->ml_name;

In fact, this change doesn't bring any value.
Date User Action Args
2022-03-31 07:27:18vstinnersetrecipients: + vstinner, Mark.Shannon, kj
2022-03-31 07:27:18vstinnersetmessageid: <>
2022-03-31 07:27:18vstinnerlinkissue47164 messages
2022-03-31 07:27:18vstinnercreate