[issue22096] Argument Clinic: add ability to specify an existing impl function
Zachary Ware
report at bugs.python.org
Mon Jul 28 23:08:56 CEST 2014
New submission from Zachary Ware:
It would be nice to be able to specify an existing function as the _impl function, for cases like winreg.OpenKey and OpenKeyEx which are the same function by different names, or _winapi.GetCurrentProcess, whose impl function is "return GetCurrentProcess()".
This is pretty minor, but would allow for some shorter and cleaner code. Unfortunately, I don't have any great ideas for syntax for this, so it may be rejected just on that basis.
----------
priority: normal -> low
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22096>
_______________________________________
More information about the Python-bugs-list
mailing list