[issue22096] Argument Clinic: add ability to specify an existing impl function

Martin v. Löwis report at bugs.python.org
Tue Jul 29 11:44:14 CEST 2014


Martin v. Löwis added the comment:

I don't think it it is worth the effort. You would need two different entry functions still, to allow error messages to refer to the function name. Since the _impl functions can trivially call each other, the saving in lines of code are minimal, and from a code reading point of view, having aliases actually complicates the code.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22096>
_______________________________________


More information about the Python-bugs-list mailing list