Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Use lexopt for argument parsing #5602

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

Merged
merged 2 commits into from
Mar 19, 2025
Merged

Conversation

coolreader18
Copy link
Member

Supercedes #5414 -- the python CLI is really not that complicated, and it turns out it's not that hard to just do the flag handling ourselves, with a little help from lexopt. This actually cuts down on the number of lines of code we have in the codebase!

Copy link
Contributor

@fanninpm fanninpm left a comment

Choose a reason for hiding this comment

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

LGTM. @youknowone what do you think?

@coolreader18 coolreader18 merged commit a596568 into RustPython:main Mar 19, 2025
11 checks passed
@coolreader18 coolreader18 deleted the lexopt branch March 19, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.