summaryrefslogtreecommitdiffstats
path: root/buggy.c
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2009-11-17 14:47:25 -0500
committerDavid Malcolm <dmalcolm@redhat.com>2009-11-17 14:47:25 -0500
commit28a01c0fd593df0f64d06b4205c5a93b8068ea51 (patch)
tree36eddd2ca00184c26d86af817f5ab6adceba69f5 /buggy.c
parent254f88a995334acfe04b5774a6be048a365cdb86 (diff)
downloadcheck-cpython-28a01c0fd593df0f64d06b4205c5a93b8068ea51.tar.gz
check-cpython-28a01c0fd593df0f64d06b4205c5a93b8068ea51.tar.xz
check-cpython-28a01c0fd593df0f64d06b4205c5a93b8068ea51.zip
Generalize variadic function handling
Avoid having to manually write a rule for each number of variable arguments to PyArg_ParseTuple etc by capturing each argument in turn (with lists of prior and subsequent expressions). The downside is that the rule is invoked once per argument at each callsite, with knowledge of only one type, rather than invoking it once per callsite with knowledge of all arguments. Thanks to Julia Lawall and Nicolas Palix
Diffstat (limited to 'buggy.c')
0 files changed, 0 insertions, 0 deletions