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, mark.dickinson, pablogsal, rhettinger, shihai1991, tim.peters, vstinner
Date 2021-04-07.10:35:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617791739.22.0.464300516748.issue43753@roundup.psfhosted.org>
In-reply-to
Content
> Also, there is too much faith in functions marked as "inline" always being inlined.

I proposed to declare it as a "static inline" function, but I'm fine with a macro as well. I mostly care about the API: call "Py_Is()", not really about the exact implementation. In practice, for now, Py_Is(x, y) will continue to be compiled as "x == y".
History
Date User Action Args
2021-04-07 10:35:39vstinnersetrecipients: + vstinner, tim.peters, rhettinger, mark.dickinson, Mark.Shannon, pablogsal, shihai1991
2021-04-07 10:35:39vstinnersetmessageid: <1617791739.22.0.464300516748.issue43753@roundup.psfhosted.org>
2021-04-07 10:35:39vstinnerlinkissue43753 messages
2021-04-07 10:35:39vstinnercreate