[Python-Dev] T_PYSSIZET in Include/structmember.h can be hidden

Neal Norwitz nnorwitz at gmail.com
Fri Aug 3 08:07:29 CEST 2007


Martin,

Do you know why T_PYSSIZET is inside a #ifdef HAVE_LONG_LONG?  That
seems like a mistake.  Here's the code:

#ifdef HAVE_LONG_LONG
#define T_LONGLONG      17
#define T_ULONGLONG     18
#define T_PYSSIZET       19 /* Py_ssize_t */
#endif /* HAVE_LONG_LONG */

ISTM, that T_PYSSIZET should be after the #endif.  Was this a mistake
or intentional?

n


More information about the Python-Dev mailing list