FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-128152: Update Argument Clinic to support empty lines by StanFromIreland · Pull Request #128158 · python/cpython · GitHub

Repository navigation

gh-128152: Update Argument Clinic to support empty lines - #128158

Closed
StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:fix-clinic-error
Closed

StanFromIreland wants to merge 1 commit into
python:mainfrom
StanFromIreland:fix-clinic-error

Conversation

StanFromIreland commented Dec 21, 2024 •
edited
Loading

Copy link
Copy Markdown
Member

This will skip the logic that follows after for empty lines so there should be no error. Assert is now no longer needed.

I don't this a NEWS worthy PR? If it is I can add an entry but I think a Skip NEWS label is just fine.

picnixz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I'm not sure it's the proper approach, although it may work. Empty lines could be incorrect directives depending on the DSL. In addition, please add tests for python input directives and for pure clinic directives to see if something changed.

Copy link
Copy Markdown
Contributor

Closing in favour of #128464. Thanks for the PR, though!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL