10000 gh-131339: test PyBytes_Size for a zero-size bytes object by nybblista · Pull Request #131340 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-131339: test PyBytes_Size for a zero-size bytes object #131340

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
merged 1 commit into from
Mar 17, 2025

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
…onGH-131340)

(cherry picked from commit 3ae67ba)

Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
@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
…onGH-131340)

(cherry picked from commit 3ae67ba)

Co-authored-by: Nybblista <170842536+nybblista@users.noreply.github.com>
@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 <170842536+nybblista@users.noreply.github.com>
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 <170842536+nybblista@users.noreply.github.com>
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
0