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

Jim Jewett jimjjewett at gmail.com
Thu Sep 29 15:22:00 CEST 2011


On Wed, Sep 28, 2011 at 8:07 PM, Benjamin Peterson <benjamin at python.org> wrote:

2011/9/28 victor.stinner <python-checkins at python.org>:

http://hg.python.org/cpython/rev/36fc514de7f0 changeset:   72512:36fc514de7f0

...

Thanks Rusty Russell for having written these amazing C macros!

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

I would expect pyport to contain only system-specific macros. These seem more universal.

-jJ



More information about the Python-Dev mailing list