Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = 'https://github.com/larryhastings' closed_at = <Date 2014-01-15.06:23:50.830> created_at = <Date 2014-01-15.05:49:19.245> labels = ['type-feature'] title = 'Argument Clinic: support cloning existing functions' updated_at = <Date 2014-01-15.06:23:50.828> user = 'https://github.com/larryhastings'
bugs.python.org fields:
activity = <Date 2014-01-15.06:23:50.828> actor = 'larry' assignee = 'larry' closed = True closed_date = <Date 2014-01-15.06:23:50.830> closer = 'larry' components = [] creation = <Date 2014-01-15.05:49:19.245> creator = 'larry' dependencies = [] files = ['33476'] hgrepos = [] issue_num = 20268 keywords = [] message_count = 6.0 messages = ['208143', '208144', '208145', '208146', '208147', '208148'] nosy_count = 4.0 nosy_names = ['georg.brandl', 'larry', 'python-dev', 'serhiy.storchaka'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue20268' versions = ['Python 3.4']
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! :D
Functionality looks good. Implementation I can't say.
Shall I just check it in and fix it if it breaks?
Sure!
New changeset 565773aabafb by Larry Hastings in branch 'default': Issue bpo-20268: Argument Clinic now supports cloning the parameters http://hg.python.org/cpython/rev/565773aabafb
Begun, the clone war has.
Issue #20268: Argument Clinic now supports cloning the parameters
Activity
larryhastings commented on Jan 15, 2014
It was a quick hack: Clinic now has a syntax for cloning an existing
function! The first line of the function block should be
Hurry up and give me a LGTM so you can use it everywhere! :D
birkenfeld commented on Jan 15, 2014
Functionality looks good. Implementation I can't say.
larryhastings commented on Jan 15, 2014
Shall I just check it in and fix it if it breaks?
birkenfeld commented on Jan 15, 2014
Sure!
python-dev commented on Jan 15, 2014
New changeset 565773aabafb by Larry Hastings in branch 'default':
Issue bpo-20268: Argument Clinic now supports cloning the parameters
http://hg.python.org/cpython/rev/565773aabafb
larryhastings commented on Jan 15, 2014
Begun, the clone war has.
Issue #20268: Argument Clinic now supports cloning the parameters
Issue #20268: Argument Clinic now supports cloning the parameters