On Sep 15, 2017, at 12:36, Victor Stinner firstname.lastname@example.org wrote:
The good news is that other C macros are now documented as well!
If you look at Include/pymacro.h there are even more crazy macros which are not documented yet, like Py_BUILD_ASSERT().
I like Py_ARRAY_LENGTH() which gives the length of an array and not its size in bytes. The macro is nice because it fails with a compilation error if the argument is not an array! For example, it fails on "char *not_an_array" or "char not_an_array_neither;".
PRs anyone? :)