Skip to content

gh-84489: Properly handle trailing spaces in Py_BuildValue() format strings #21158

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

Conversation

ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Jun 25, 2020

The docs state that the space, tab, colon, and comma characters are
ignored in Py_BuildValue() format strings.

…strings

The docs state that the space, tab, colon, and comma characters are
ignored in Py_BuildValue() format strings.
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

In general LGTM, but I have questions about tests.

Copy link
Member

@iritkatriel iritkatriel left a comment

Choose a reason for hiding this comment

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

See @serhiy-storchaka 's review.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@erlend-aasland erlend-aasland changed the title bpo-40309: Properly handle trailing spaces in Py_BuildValue() format strings gh-84489: Properly handle trailing spaces in Py_BuildValue() format strings Sep 29, 2023
@erlend-aasland erlend-aasland dismissed iritkatriel’s stale review October 11, 2023 09:06

Serhiy has now updated the PR with his own suggestions; those changes are no longer requested.

@serhiy-storchaka serhiy-storchaka merged commit f83fa0b into python:main Oct 11, 2023
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…rmat strings (pythonGH-21158)

The docs state that the space, tab, colon, and comma characters are
ignored in Py_BuildValue() format strings.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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.

7 participants