Skip to content

[3.15] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236) - #157550

Merged
hugovk merged 1 commit into
python:3.15from
miss-islington:backport-2fcb0e2-3.15
Sep 15, 2026
Merged

hugovk merged 1 commit into
python:3.15from
miss-islington:backport-2fcb0e2-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Document as an implementation detail that PyBytesObject and ByteArrayObject end
with a NUL byte.
(cherry picked from commit 2fcb0e2)

Co-authored-by: Victor Stinner vstinner@python.org
Co-authored-by: Petr Viktorin encukou@gmail.com

…thonGH-157236)

Document as an implementation detail that PyBytesObject and ByteArrayObject end
with a NUL byte.
(cherry picked from commit 2fcb0e2)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
@read-the-docs-community

Copy link
Copy Markdown

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@hugovk
hugovk merged commit ec7bf22 into python:3.15 Sep 15, 2026
45 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 15, 2026
@miss-islington
miss-islington deleted the backport-2fcb0e2-3.15 branch September 15, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-C-API

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants