[Python-Dev] PY_SSIZE_T_MIN?
"Martin v. Löwis"
martin at v.loewis.de
Wed Apr 5 20:22:27 CEST 2006
Ralf W. Grosse-Kunstleve wrote:
> #define PY_SSIZE_T_MAX ((Py_ssize_t)(((size_t)-1)>>1))
>
> However, I couldn't find a corresponding PY_SSIZE_T_MIN which would come in
> handy to adjust old code using INT_MIN (from limits.h). Are there arguments
> against defining PY_SSIZE_T_MIN? 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