[Python-Dev] [Python-checkins] cpython: Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array

Benjamin Peterson benjamin at python.org
Thu Sep 29 02:07:02 CEST 2011


2011/9/28 victor.stinner <python-checkins at python.org>:
> http://hg.python.org/cpython/rev/36fc514de7f0
> changeset:   72512:36fc514de7f0
> user:        Victor Stinner <victor.stinner at haypocalc.com>
> date:        Thu Sep 29 01:12:24 2011 +0200
> summary:
>  Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
>
> Move other various macros to pymcacro.h
>
> Thanks Rusty Russell for having written these amazing C macros!
>
> files:
>  Include/Python.h          |  19 +--------
>  Include/pymacro.h         |  57 +++++++++++++++++++++++++++

Do we really need a new file? Why not pyport.h where other compiler stuff goes?


-- 
Regards,
Benjamin


More information about the Python-Dev mailing list