Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Feb 12, 2024

  • 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().
vstinner and others added 2 commits February 14, 2024 22:59
Co-authored-by: Erlend E. Aasland <[email protected]>
Co-authored-by: Erlend E. Aasland <[email protected]>
@vstinner
Copy link
Member Author

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
Contributor

Obsoleted by #115510

@vstinner vstinner deleted the ac_clinic branch February 15, 2024 14:04
Sign up for free to 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