[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Larry Hastings
New submission from Larry Hastings: It was a quick hack: Clinic now has a syntax for cloning an existing function! The first line of the function block should be module.class.new_function [as c_basename] = module.class.existing_fn Hurry up and give me a LGTM so you can use it everywhere!

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: Functionality looks good. Implementation I can't say. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20268 ___

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Larry Hastings
Larry Hastings added the comment: Shall I just check it in and fix it if it breaks? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20268 ___ ___

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Georg Brandl
Georg Brandl added the comment: Sure! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20268 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Roundup Robot
Roundup Robot added the comment: New changeset 565773aabafb by Larry Hastings in branch 'default': Issue #20268: Argument Clinic now supports cloning the parameters http://hg.python.org/cpython/rev/565773aabafb -- nosy: +python-dev ___ Python tracker

[issue20268] Argument Clinic: support cloning existing functions

2014-01-14 Thread Larry Hastings
Larry Hastings added the comment: Begun, the clone war has. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20268