[Python-Dev] [Python-checkins] cpython: =?utf-8?q?Enhance=09Py=5FARRAY=5FLENGTH?=(): fail at build time if the argument is not an array (original) (raw)
Victor Stinner victor.stinner at haypocalc.com
Sat Oct 1 20:02:23 CEST 2011
- Previous message: [Python-Dev] [Python-checkins] cpython: Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
- Next message: [Python-Dev] PEP-393: request for keeping PyUnicode_EncodeDecimal()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le samedi 1 octobre 2011 14:52:03, vous avez écrit :
>> 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 PyMIN, PyMAX, > PyARRAYLENGTH. pyport.h looks to be related to all things specific to > the platform like INTMAX, PyVACOPY, ... 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.
I moved them to pymacro.h because I don't consider Python.h as a reasonable place for them.
Victor
- Previous message: [Python-Dev] [Python-checkins] cpython: Enhance Py_ARRAY_LENGTH(): fail at build time if the argument is not an array
- Next message: [Python-Dev] PEP-393: request for keeping PyUnicode_EncodeDecimal()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]