Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aaslanderlend-aasland commented Feb 15, 2024

Instead, just raise an exception.

fail() is intended for parser/generator errors, not CLI errors.

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erlend-aaslanderlend-aasland enabled auto-merge (squash) February 15, 2024 12:00
@erlend-aaslanderlend-aasland merged commit 98ee4ec into python:mainFeb 15, 2024
@erlend-aaslanderlend-aasland deleted the clinic/use-exceptions-in-cli branch February 15, 2024 12:10
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@erlend-aasland@vstinner