[issue20332] Argument Clinic does not support the 'l' format
Larry Hastings
report at bugs.python.org
Wed Jan 22 02:36:24 CET 2014
Larry Hastings added the comment:
/*[clinic input]
brett_is_stinky_and_wrong
l: long
[clinic start generated code]*/
PyDoc_STRVAR(brett_is_stinky_and_wrong__doc__,
"brett_is_stinky_and_wrong(l)");
#define BRETT_IS_STINKY_AND_WRONG_METHODDEF \
{"brett_is_stinky_and_wrong", (PyCFunction)brett_is_stinky_and_wrong, METH_VARARGS|METH_KEYWORDS, brett_is_stinky_and_wrong__doc__},
static PyObject *
brett_is_stinky_and_wrong_impl(PyModuleDef *module, long l);
static PyObject *
brett_is_stinky_and_wrong(PyModuleDef *module, PyObject *args, PyObject *kwargs)
{
PyObject *return_value = NULL;
static char *_keywords[] = {"l", NULL};
long l;
if (!PyArg_ParseTupleAndKeywords(args, kwargs,
"l:brett_is_stinky_and_wrong", _keywords,
&l))
goto exit;
return_value = brett_is_stinky_and_wrong_impl(module, l);
exit:
return return_value;
}
static PyObject *
brett_is_stinky_and_wrong_impl(PyModuleDef *module, long l)
/*[clinic end generated code: checksum=d16330187341a0ecea0bf7ab70ba5551200ceb3c]*/
----------
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
type: -> behavior
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20332>
_______________________________________
More information about the Python-bugs-list
mailing list