On 8/24/07, skip.montanaro <[email protected]> wrote: > Author: skip.montanaro > Date: Fri Aug 24 23:11:00 2007 > New Revision: 57416 > > Modified: > python/branches/py3k/Include/structseq.h > python/branches/py3k/Modules/timemodule.c > Log: > Remove PyArg_Parse usage from time module. (An extra set of eyeballs on > this would be nice. I'm a little rusty.)
The code looks fine to me. Does PyArg_ParseTuple() not work with structseqs? IIRC you can usually convert PyArg_Parse(args, "(...)", ...) to PyArg_ParseTuple(args, "...", ...) (ie, change the name and drop the parentheses). It looks like this breaks down with 0-1 values though. I assume all of this was fallout from the change from METH_OLDARGS to METH_VARARGS (and METH_O and METH_NOARGS). n _______________________________________________ Python-3000-checkins mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000-checkins
