Skip to content

Conversation

@nybblista
Copy link
Contributor

@nybblista nybblista commented Mar 17, 2025

Assert that PyBytes_Size returns zero for a zero-size bytes object.

Assert that PyBytes_Size returns zero for zero-size bytes object.
Copy link
Member

@sobolevn sobolevn left a comment

Choose a reason for hiding this comment

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

Thanks!

@sobolevn sobolevn added needs backport to 3.12 only security fixes needs backport to 3.13 bugs and security fixes labels Mar 17, 2025
@sobolevn sobolevn merged commit 3ae67ba into python:main Mar 17, 2025
52 checks passed
@miss-islington-app
Copy link

Thanks @nybblista for the PR, and @sobolevn for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2025
@bedevere-app
Copy link

bedevere-app bot commented Mar 17, 2025

GH-131343 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 17, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 17, 2025
@bedevere-app
Copy link

bedevere-app bot commented Mar 17, 2025

GH-131344 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Mar 17, 2025
sobolevn pushed a commit that referenced this pull request Mar 17, 2025
…131340) (#131343)

gh-131339: test PyBytes_Size for a zero-size bytes object (GH-131340)
(cherry picked from commit 3ae67ba)

Co-authored-by: Nybblista <[email protected]>
sobolevn pushed a commit that referenced this pull request Mar 17, 2025
…131340) (#131344)

gh-131339: test PyBytes_Size for a zero-size bytes object (GH-131340)
(cherry picked from commit 3ae67ba)

Co-authored-by: Nybblista <[email protected]>
plashchynski pushed a commit to plashchynski/cpython that referenced this pull request Mar 17, 2025
seehwan pushed a commit to seehwan/cpython that referenced this pull request Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants