[issue47164] [C API] Add private "CAST" macros to clean up casts in C code

Ken Jin report at bugs.python.org
Wed Mar 30 10:37:01 EDT 2022


Ken Jin <kenjin4096 at gmail.com> added the comment:

@Victor,

I'm not against (A) or any of the PRs you proposed. They look fine to me. My concern was with certain static inline functions (there are none here :). The _CAST macros have genuinely helped me debug code before.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47164>
_______________________________________


More information about the Python-bugs-list mailing list