[Python-Dev] [Python-checkins] cpython: Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
"Martin v. Löwis"
martin at v.loewis.de
Sat Oct 1 14:52:03 CEST 2011
>> Do we really need a new file? Why not pyport.h where other compiler stuff
>> goes?
>
> I'm not sure that pyport.h is the right place to add Py_MIN, Py_MAX,
> Py_ARRAY_LENGTH. pyport.h looks to be related to all things specific to the
> platform like INT_MAX, Py_VA_COPY, ... pymacro.h contains platform independant
> macros.
I'm -1 on additional header files as well. If no other reasonable place
is found, Python.h is still available.
Regards,
Martin
More information about the Python-Dev
mailing list