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 erlendaasland
Recipients corona10, erlendaasland, vstinner
Date 2021-03-15.13:54:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615816484.12.0.00251754107838.issue43502@roundup.psfhosted.org>
In-reply-to
Content
Convert macros to static inline functions if...:
- the macro contains a clear pitfall (for example "duplication of side effects")
- the fix is trivial
- the macro is not used as an l-value (for example Py_TYPE())


See also:
- https://gcc.gnu.org/onlinedocs/cpp/Macro-Pitfalls.html
- bpo-43181
- bpo-39573
- bpo-40170
History
Date User Action Args
2021-03-15 13:54:44erlendaaslandsetrecipients: + erlendaasland, vstinner, corona10
2021-03-15 13:54:44erlendaaslandsetmessageid: <1615816484.12.0.00251754107838.issue43502@roundup.psfhosted.org>
2021-03-15 13:54:44erlendaaslandlinkissue43502 messages
2021-03-15 13:54:44erlendaaslandcreate