Skip to content
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

gh-115026: AC should generate code that checks for errors of PyBuffer_FillInfo #115027

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

sobolevn
Copy link
Member

@sobolevn sobolevn commented Feb 5, 2024

I've also changed 0 to be PyBUF_SIMPLE, because it is more canonical.

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.

This is not a real bug, but I do not mind to change the generated code, because it can provoke a bug if someone look at the Argument Clinic generated code and copy it with modifications.

@erlend-aasland erlend-aasland merged commit 87cd20a into python:main Feb 5, 2024
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
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.

4 participants