[Python-Dev] T_PYSSIZET in Include/structmember.h can be hidden
Walter Dörwald
walter at livinglogic.de
Fri Aug 3 08:34:46 CEST 2007
Neal Norwitz wrote:
> 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?
That was my mistake. Iy should be outside of the #ifdef.
Servus,
Walter
More information about the Python-Dev
mailing list