[issue1554] [patch] socketmodule cleanups: allow the use of keywords in socket functions
Thomas Herve
report at bugs.python.org
Tue Dec 4 19:32:48 CET 2007
Thomas Herve added the comment:
Alright I'll add tests to the modified functions. I don't think I have
to change documentation because I kept the same name for the parameters,
but I'll check.
Looking at the patch more, maybe it doesn't make sense on the functions
taking only one parameter though :). I'll probably remove that.
Regarding ARGSUSED, I thought it was here to note functions using
PyArg_ParseTuple instead of PyArg_ParseTupleAndKeywords, but looking at
the svn history it seems wrong. I can put it back if there is another
semantic.
For METH_NOARGS, do you have a pointer to explain that?
http://docs.python.org/ext/node22.html, for example, show an example of
METH_NOARGS with a function without arguments. Does that have other
incidence?
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1554>
__________________________________
More information about the Python-bugs-list
mailing list