You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Argument Clinic included return converters hard code use of _return_value #64660
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/larryhastings'closed_at=Nonecreated_at=<Date2014-01-31.17:28:47.030>labels= ['build', 'expert-argument-clinic']
title='Argument Clinic included return converters hard code use of ``_return_value``'updated_at=<Date2020-03-18.18:40:11.018>user='https://github.com/brettcannon'
E.g. NoneType_return_converter assumes _return_value is used in render() although CReturnConverter.declare() stores it in data.return_value and it's a parameter to render().
See gh-104200 for an improvement. There's still stuff to be done, IMO. For example, return_converter (no underscore prefix!) is also hardcoded several places. There's also the hack mentioned by Brett in the OP.
Activity
brettcannon commentedon Jan 31, 2014
E.g. NoneType_return_converter assumes _return_value is used in render() although CReturnConverter.declare() stores it in data.return_value and it's a parameter to render().
pythongh-64660: Don't hard-code '_return_value' in AC return converters
pythongh-64660: Don't hardcode Argument Clinic return converter resul…
erlend-aasland commentedon May 5, 2023
See gh-104200 for an improvement. There's still stuff to be done, IMO. For example,
return_converter(no underscore prefix!) is also hardcoded several places. There's also the hack mentioned by Brett in the OP.gh-64660: Don't hardcode Argument Clinic return converter result vari…
pythongh-64660: Don't hardcode Argument Clinic return converter resul…
Merge branch 'main' into inlinecomp2
gh-64660: Do not hardcode the name of the returned variable (GH-155268)
pythongh-64660: Do not hardcode the name of the returned variable (py…