[issue20173] Derby #4: Convert 53 sites to Argument Clinic across 5 files
Vajrasky Kok
report at bugs.python.org
Fri Jan 10 05:06:56 CET 2014
Vajrasky Kok added the comment:
>Rule 1: Argument Clinic handles all argument parsing for you. Your "impl" function should never call PyArg_ParseTuple or PyArg_ParseTupleAndKeywords.
Ah, got it. Here is the third patch. Everything works fine except for the issue whether sha1 constructor should accept None value or not. Right now, after clinic, it accepts it. So _sha1.sha1() is same as _sha1.sha1(string=None).
----------
Added file: http://bugs.python.org/file33400/clinic_sha1module_v3.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20173>
_______________________________________
More information about the Python-bugs-list
mailing list