[Python-Dev] Changing ob_size to [s]size_t

Scott Gilbert xscottg@yahoo.com
Thu, 6 Jun 2002 21:56:09 -0700 (PDT)

--- Guido van Rossum <guido@python.org> wrote:
> Also
> could cause lots of compilation warnings when user code stores the
> result into an int.

The compiler won't complain a wink for int pointers passed to varargs
functions.  PyArg_ParseTuple and any format specifiers that have # after
the typecode could be quiet bugs in any extension modules.  This could be
handled in a backwards compatible fashion by adding a new code indicating
ssize_t while leaving '#' as indicating int.

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup