[Python-Dev] PY_SSIZE_T_CLEAN
"Martin v. Löwis"
martin at v.loewis.de
Sat Mar 18 09:04:38 CET 2006
Thomas Heller wrote:
> Then, from only reading the PEP without looking up the sources,
> it is not clear to me what the PY_SIZE_T_CLEAN definition does.
The description says
The conversion codes 's#' and 't#' will output Py_ssize_t
if the macro PY_SSIZE_T_CLEAN is defined before Python.h
is included, and continue to output int if that macro
isn't defined.
which (IMO, of course), specifies precisely what PY_SSIZE_T_CLEAN
does. What information do you find lacking here?
Regards,
Martin
More information about the Python-Dev
mailing list