[Python-Dev] PY_SSIZE_T_CLEAN (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat Mar 18 09:04:38 CET 2006
- Previous message: [Python-Dev] Py_ssize_t backwards compatibility
- Next message: [Python-Dev] PY_SSIZE_T_CLEAN
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thomas Heller wrote:
Then, from only reading the PEP without looking up the sources, it is not clear to me what the PYSIZETCLEAN 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
- Previous message: [Python-Dev] Py_ssize_t backwards compatibility
- Next message: [Python-Dev] PY_SSIZE_T_CLEAN
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]