[issue20232] Argument Clinic NULL default falsely implies None acceptability
Ryan Smith-Roberts
report at bugs.python.org
Thu Jan 16 06:19:07 CET 2014
Ryan Smith-Roberts added the comment:
sha1 is Vajrasky's module. I have a much more complicated example (and Vajrasky and I just both posted on python-dev separately about this issue):
sockobj.sendmsg(buffers[, ancdata[, flags[, address]]])
->
sockobj.sendmsg(buffers, ancdata=None, flags=0, address=None)
Here ancdata wants an iterator and address a tuple, and the existing function expects NULL when these are absent. This is what we've been indirectly discussing via email as well.
Aaand I just realized that I should set py_default to []?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20232>
_______________________________________
More information about the Python-bugs-list
mailing list