Skip to content

Conversation

@erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Feb 15, 2024

Instead, just raise an exception.

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

Copy link
Member

@vstinner vstinner 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-aasland erlend-aasland enabled auto-merge (squash) February 15, 2024 12:00
@erlend-aasland erlend-aasland merged commit 98ee4ec into python:main Feb 15, 2024
@erlend-aasland erlend-aasland deleted the clinic/use-exceptions-in-cli branch February 15, 2024 12:10
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