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

PyBytes_Size test for a zero-size bytes object #131339

Closed
nybblista opened this issue Mar 17, 2025 · 0 comments
Closed

PyBytes_Size test for a zero-size bytes object #131339

nybblista opened this issue Mar 17, 2025 · 0 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) tests Tests in the Lib/test dir topic-C-API type-feature A feature request or enhancement

Comments

@nybblista
Copy link
Contributor

nybblista commented Mar 17, 2025

test.test_capi.test_bytes.CAPITest.test_size that test PyBytes_Size() does not check for a zero-size bytes object.

Linked PRs

@picnixz picnixz added type-feature A feature request or enhancement tests Tests in the Lib/test dir topic-C-API interpreter-core (Objects, Python, Grammar, and Parser dirs) labels Mar 17, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Mar 17, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Mar 17, 2025
sobolevn pushed a commit that referenced this issue 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 issue 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) tests Tests in the Lib/test dir topic-C-API type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants