gh-113317: Change how Argument Clinic lists converters (#116853)
* Add a new create_parser_namespace() function for PythonParser to pass objects to executed code. * In run_clinic(), list converters using 'converters' and 'return_converters' dictionarties. * test_clinic: add 'object()' return converter. * Use also create_parser_namespace() in eval_ast_expr(). Co-authored-by: Erlend E. Aasland <erlend@python.org>
V
Victor Stinner committed
7aa89bc43e0bcf49eee5a39b5a7ba8f996f20d00
Parent: 669ef49
Committed by GitHub <noreply@github.com>
on 3/27/2024, 10:10:14 PM