cpython/Tools/clinic
Victor Stinner 7aa89bc43e
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>
2024-03-27 23:10:14 +01:00
..
libclinic gh-85283: Build pwd extension with the limited C API (#116841) 2024-03-15 08:49:58 +01:00
.ruff.toml Bump ruff to 0.2.0 (#114932) 2024-02-02 21:04:15 +00:00
clinic.py gh-113317: Change how Argument Clinic lists converters (#116853) 2024-03-27 23:10:14 +01:00
mypy.ini gh-104146: Argument clinic: Remove dead code flagged by mypy's truthy-bool check (#107627) 2023-08-04 13:28:13 +00:00