On Fri, Aug 24, 2007 at 08:30:48PM -0700, Neal Norwitz wrote: > On 8/24/07, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 8/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > > Guido> Are there any existing uses (in the core) that are hard to > > > Guido> replace with PyArg_ParseTuple()? > > > > > > There are lots of uses where the arguments aren't tuples. I was > > > particularly vexed by the time module because it was used to extract > > > arguments both from tuples and from time.struct_time objects. > > There are 45 uses in */*.c spread across 9 modules: > arraymodule.c, posixmodule.c, > _hashopenssl.c (2), dbmmodule.c (4), gdbmmodule.c (2), > mactoolboxglue.c (5), stringobject.c (2)
_hashopenssl.c will stop using it soon enough as I modify it to take objects supporting the buffer api. -greg _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
