Skip to content

gh-113317, Argument Clinic: Add Clinic.fail() method - #115371

Closed
vstinner wants to merge 3 commits into
python:mainfrom
vstinner:ac_clinic
Closed

gh-113317, Argument Clinic: Add Clinic.fail() method#115371
vstinner wants to merge 3 commits into
python:mainfrom
vstinner:ac_clinic

Conversation

@vstinner

@vstinnervstinner commented Feb 12, 2024

Copy link
Copy Markdown
Member
  • Add Clinic.fail() and Clinic.warn() methods.
  • Language.render(): clinic argument is now mandatory (fix type hint).
  • Replace some fail() and warn() calls with Clinic.fail() and Clinic.warn().

* Add Clinic.fail() and Clinic.warn() methods.
* Language.render(): clinic argument is now mandatory (fix type
hint).
* Replace some fail() and warn() calls with Clinic.fail() and
Clinic.warn().
Comment threadTools/clinic/clinic.py Outdated
Comment threadTools/clinic/clinic.py Outdated
vstinnerand others added 2 commits February 14, 2024 22:59
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@vstinner

Copy link
Copy Markdown
MemberAuthor

Does not this work?

This PR comes from my other PR which removes fail(). But let's move step by step, you're right.

@erlend-aasland

Copy link
Copy Markdown
Contributor

Obsoleted by #115510

@vstinner
vstinner deleted the ac_clinic branch February 15, 2024 14:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@vstinner@erlend-aasland