[Python-Dev] PY_SSIZE_T_MIN? (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Wed Apr 5 20:22:27 CEST 2006


Ralf W. Grosse-Kunstleve wrote:

#define PYSSIZETMAX ((Pyssizet)(((sizet)-1)>>1))

However, I couldn't find a corresponding PYSSIZETMIN which would come in handy to adjust old code using INTMIN (from limits.h). Are there arguments against defining PYSSIZETMIN? Or is this just an oversight?

That's just an oversight; I just added it.

Thanks for pointing that out,

Martin



More information about the Python-Dev mailing list