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

gh-112068: C API: Add support of nullable arguments in PyArg_Parse (prefix) by serhiy-storchaka · Pull Request #121187 · python/cpython · GitHub

Repository navigation

gh-112068: C API: Add support of nullable arguments in PyArg_Parse (prefix) - #121187

Closed
serhiy-storchaka wants to merge 4 commits into
python:mainfrom
serhiy-storchaka:pyarg_parse-nullable
Closed

serhiy-storchaka wants to merge 4 commits into
python:mainfrom
serhiy-storchaka:pyarg_parse-nullable

Conversation

serhiy-storchaka commented Jun 30, 2024 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

serhiy-storchaka changed the title C API: Add support of nullable arguments in PyArg_Parse gh-112068: C API: Add support of nullable arguments in PyArg_Parse Jun 30, 2024
serhiy-storchaka changed the title gh-112068: C API: Add support of nullable arguments in PyArg_Parse gh-112068: C API: Add support of nullable arguments in PyArg_Parse (prefix) Jul 3, 2024

picnixz left a comment •
edited
Loading

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 now in favor of the prefix implementation (see the comment on the sister's PR). I'd be interested in implementing the (...) parsing though (I assume it has to be with grouping in general, like ?(...) means that everything inside (...) is optional?).

Copy link
Copy Markdown
Member Author

I assume it has to be with grouping in general, like ?(...) means that everything inside (...) is optional?

No, it means that the argument can be a sequence of particular length or None. This feature is implemented in this PR, but not in the sister's PR.

Copy link
Copy Markdown
Member Author

Closed in favor of #121303.

serhiy-storchaka deleted the pyarg_parse-nullable branch January 8, 2025 17:02
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.

2 participants


Back | FazBrowse Home | New Git URL