]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114258: Argument Clinic: refactor getset implementation (#116170)
authorErlend E. Aasland <erlend@python.org>
Mon, 4 Mar 2024 12:51:28 +0000 (13:51 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Mar 2024 12:51:28 +0000 (13:51 +0100)
commitcfbdce72083fca791947cbb18114115c90738d99
tree730afadc2f66906e34a6cbf077dcb5de3ca5b00c
parent45a92436c5c42ca100f3ea0de9e7d37f1a97439b
gh-114258: Argument Clinic: refactor getset implementation (#116170)

* Move param guard to param state machine
* Override return converter during parsing
* Don't use a custom type slot return converter; instead
  special case type slot functions during generation.
Lib/test/clinic.test.c
Lib/test/test_clinic.py
Tools/clinic/clinic.py