Message416417
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:18 | vstinner | set | recipients:
+ vstinner, Mark.Shannon, kj |
2022-03-31 07:27:18 | vstinner | set | messageid: <1648711638.71.0.539706448342.issue47164@roundup.psfhosted.org> |
2022-03-31 07:27:18 | vstinner | link | issue47164 messages |
2022-03-31 07:27:18 | vstinner | create | |
|