[Patches] [ python-Patches-550732 ] PyArg_VaParseTupleAndKeywords

noreply@sourceforge.net noreply@sourceforge.net
Thu, 13 Jun 2002 05:29:40 -0700


Patches item #550732, was opened at 2002-04-30 14:37
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=550732&group_id=5470

Category: Core (C code)
Group: None
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Greg Chapman (glchapman)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: PyArg_VaParseTupleAndKeywords

Initial Comment:
I need a Va version of PyArg_ParseTupleAndKeywords for 
some generic code where the number of expected 
arguments isn't known until runtime.  Attached is a 
patch which adds a PyArg_VaParseTupleAndKeywords to 
getargs.c.


----------------------------------------------------------------------

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2002-06-13 08:29

Message:
Logged In: YES 
user_id=3066

This looks good to me; I can make the markup changes needed
for the documentation patch.  I'll try and get this in later
today.

A minimal test should probably be added to
Modules/_testcapimodule.c, though there isn't much to test.
 That could be contributed as a separate patch.

----------------------------------------------------------------------

Comment By: Greg Chapman (glchapman)
Date: 2002-05-08 14:36

Message:
Logged In: YES 
user_id=86307

I probably should have added that the patch is against the 
current CVS version of utilities.tex (1.4).  I saved it 
from my web browser, so it has today's date rather than the 
date in the CVS.

----------------------------------------------------------------------

Comment By: Greg Chapman (glchapman)
Date: 2002-05-08 14:32

Message:
Logged In: YES 
user_id=86307

I'm attaching a very minimal (possibly inadequate) doc 
patch for api/utilities.tex.  I was going to model it after 
the documentation for PyArg_VaParse, but that doesn't 
exist, so I've provided some documentation for both 
PyArg_VaParse and PyArg_VaParseTupleAndKeywords.

----------------------------------------------------------------------

Comment By: Guido van Rossum (gvanrossum)
Date: 2002-05-07 08:37

Message:
Logged In: YES 
user_id=6380

Looks like a good idea to me. Needs a small API doc patch.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=550732&group_id=5470