[Python-Dev] PY_SSIZE_T_CLEAN in py3k

2009-10-17 Thread Antoine Pitrou
Hello, It turns out (*) that even in py3k, not all modules are PY_SSIZE_T_CLEAN. Should we try to remedy that, and make PY_SSIZE_T_CLEAN the default in future 3.x versions? As far I know, there's no reason not to be PY_SSIZE_T_CLEAN, except for having to convert old code. (*) http://bugs.python.

Re: [Python-Dev] PY_SSIZE_T_CLEAN

2006-03-22 Thread Thomas Heller
Martin v. Löwis wrote: > 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_CLEA

Re: [Python-Dev] PY_SSIZE_T_CLEAN

2006-03-18 Thread Martin v. Löwis
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 inclu