This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: PyArg_VaParseTupleAndKeywords
Type: Stage:
Components: Interpreter Core Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: fdrake Nosy List: brett.cannon, fdrake, glchapman, gvanrossum
Priority: normal Keywords: patch

Created on 2002-04-30 18:37 by glchapman, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
VaParse.diff glchapman, 2002-04-30 18:37
utilities.tex.diff glchapman, 2002-05-08 18:32
Messages (6)
msg39780 - (view) Author: Greg Chapman (glchapman) Date: 2002-04-30 18:37
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.
msg39781 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2002-05-07 12:37
Logged In: YES 
user_id=6380

Looks like a good idea to me. Needs a small API doc patch.
msg39782 - (view) Author: Greg Chapman (glchapman) Date: 2002-05-08 18:32
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.
msg39783 - (view) Author: Greg Chapman (glchapman) Date: 2002-05-08 18:36
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.
msg39784 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2002-06-13 12:29
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.
msg39785 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2004-07-10 22:23
Logged In: YES 
user_id=357491

Committed for Python 2.4a2 for rev. 2.101 Python/getargs.c, rev. 2.41 
for Include/modsupport.h, and rev. 1.16 for Doc/api/utilities.tex .
History
Date User Action Args
2022-04-10 16:05:17adminsetgithub: 36526
2002-04-30 18:37:11glchapmancreate