[issue20186] Derby #18: Convert 31 sites to Argument Clinic across 23 files
Tal Einat
report at bugs.python.org
Sun Jun 7 22:38:36 CEST 2015
Tal Einat added the comment:
Attached is a patch for all of _operator except for itemgetter, attrgetter and methodcaller. The entire test suite passes after applying this patch.
Using AC has allowed the removal of all of the cryptic "spam*()" macros in the code, making it much more straightforward. In terms of readability, IMO this is a great improvement.
I skipped itemgetter, attrgetter and methodcaller since they all support passing a variable number of arguments and treating those as a sequence of values.
----------
Added file: http://bugs.python.org/file39653/issue20186._operator.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20186>
_______________________________________
More information about the Python-bugs-list
mailing list