[Python-3000] Removal of PyArg_Parse()

Guido van Rossum guido at python.org
Sat Aug 25 04:15:49 CEST 2007


On 8/24/07, skip at pobox.com <skip at pobox.com> 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.
>
> I suspect most of the low-hanging fruit (PyArg_Parse used to parse tuples)
> has already been plucked.

Then I don't think it's a priority to try to get rid of it, and maybe
it should just stay.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list