René's URL Explorer Experiment


Title: [3.15] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236) by miss-islington · Pull Request #157550 · python/cpython · GitHub

Open Graph Title: [3.15] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236) by miss-islington · Pull Request #157550 · python/cpython

X Title: [3.15] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236) by miss-islington · Pull Request #157550 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: 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-b...

X Description: 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-b...

Mail addresses
vstinner@python.org
encukou@gmail.com

Opengraph URL: https://github.com/python/cpython/pull/157550

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9e43bc9e-d1d8-86e8-285d-633e9d58629b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC88C:2E7EBB:367C22C:450168C:6B01DE04
html-safe-nonce8ba7b5c2a3f019ed924d2102b730a2e877da3e72baad45f2eb1cec880680649d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODhDOjJFN0VCQjozNjdDMjJDOjQ1MDE2OEM6NkIwMURFMDQiLCJ2aXNpdG9yX2lkIjoiNzk3MzE5NDY5MzI5NzE2Nzg3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd75547afabed7838fd622783856f301713f179c96f51f3deb3ef446df4c75a54
hovercard-subject-tagpull_request:4537014387
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/157550/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/327882db0ccab42fbc70fce2208f76b1d5824cf282c1a0d5e4bb1a4dbf3a338c/python/cpython/pull/157550
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/327882db0ccab42fbc70fce2208f76b1d5824cf282c1a0d5e4bb1a4dbf3a338c/python/cpython/pull/157550
og:image:altDocument 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-b...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemiss-islington
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/157550#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157550
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157550
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/157550
Reloadhttps://github.com/python/cpython/pull/157550
Reloadhttps://github.com/python/cpython/pull/157550
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
hugovkhttps://github.com/hugovk
python:3.15https://github.com/python/cpython/tree/3.15
miss-islington:backport-2fcb0e2-3.15https://github.com/miss-islington/cpython/tree/backport-2fcb0e2-3.15
Conversationhttps://github.com/python/cpython/pull/157550
Commits1 (1)https://github.com/python/cpython/pull/157550/commits
Checkshttps://github.com/python/cpython/pull/157550/checks
Files changedhttps://github.com/python/cpython/pull/157550/files
[3.15] gh-156939: Document that PyBytesObject ends with a NUL byte (GH-157236)https://github.com/python/cpython/pull/157550#top
hugovkhttps://github.com/hugovk
python:3.15https://github.com/python/cpython/tree/3.15
miss-islington:backport-2fcb0e2-3.15https://github.com/miss-islington/cpython/tree/backport-2fcb0e2-3.15
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Sep 15, 2026https://github.com/python/cpython/pull/157550#issue-5461967182
Please reload this pagehttps://github.com/python/cpython/pull/157550
2fcb0e2https://github.com/python/cpython/commit/2fcb0e27d959345151750b756af79054c3230531
C API: Detect buffer overflow in PyBytesWriter #156939https://github.com/python/cpython/issues/156939
Please reload this pagehttps://github.com/python/cpython/pull/157550
https://github.com/vstinner
https://github.com/encukou
https://github.com/miss-islington
pythongh-156939https://github.com/python/cpython/issues/156939
: Document that PyBytesObject ends with a NUL byte (https://github.com/python/cpython/pull/157550/commits/5af19ddb0dda74f30180c9abf3e77d41374bbdf7
py…https://github.com/python/cpython/pull/157236
5af19ddhttps://github.com/python/cpython/pull/157550/commits/5af19ddb0dda74f30180c9abf3e77d41374bbdf7
…thonGH-157236https://github.com/python/cpython/pull/157236
2fcb0e2https://github.com/miss-islington/cpython/commit/2fcb0e27d959345151750b756af79054c3230531
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
ZeroIntensityhttps://github.com/ZeroIntensity
code ownerhttps://github.com/python/cpython/blob/5f6fc462db73ed18eaa9520cbc275a3c5bbad746/.github/CODEOWNERS#L114
September 15, 2026 12:36https://github.com/python/cpython/pull/157550#event-31172358819
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 15, 2026 https://github.com/python/cpython/pull/157550#ref-issue-5349122777
C API: Detect buffer overflow in PyBytesWriter #156939 https://github.com/python/cpython/issues/156939
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31172362320
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31172367044
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31172368239
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
topic-C-API https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31172366743
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 15, 2026 https://github.com/python/cpython/pull/157550#ref-pullrequest-5404178228
gh-156939: Document that PyBytesObject ends with a NUL byte #157236 https://github.com/python/cpython/pull/157236
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Sep 15, 2026https://github.com/python/cpython/pull/157550#issuecomment-5680338058
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#34570058https://app.readthedocs.org/projects/cpython-previews/builds/34570058/
5af19ddhttps://github.com/python/cpython/commit/5af19ddb0dda74f30180c9abf3e77d41374bbdf7
mainhttps://cpython-previews.readthedocs.io/en/main/
2fcb0e2https://github.com/python/cpython/commit/2fcb0e27d959345151750b756af79054c3230531
  🔍 Preview build   https://cpython-previews--157550.org.readthedocs.build/en/157550/
library/asyncio-policy.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/library/asyncio-policy.html
library/dialog.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/library/dialog.html
glossary.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/glossary.html
index.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/index.html
py-modindex.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/py-modindex.html
builtins/exceptions.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/builtins/exceptions.html
builtins/functions.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/builtins/functions.html
builtins/stdtypes.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/builtins/stdtypes.html
c-api/bytes.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/c-api/bytes.html
c-api/capsule.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/c-api/capsule.html
c-api/complex.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/c-api/complex.html
c-api/coro.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/c-api/coro.html
deprecations/pending-removal-in-3.21.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/deprecations/pending-removal-in-3.21.html
library/tkinter.dialogs.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/library/tkinter.dialogs.html
library/tkinter.fontchooser.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/library/tkinter.fontchooser.html
library/tkinter.systray.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/library/tkinter.systray.html
whatsnew/3.16.htmlhttps://cpython-previews--157550.org.readthedocs.build/en/157550/whatsnew/3.16.html
Please reload this pagehttps://github.com/python/cpython/pull/157550
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 15, 2026 https://github.com/python/cpython/pull/157550#pullrequestreview-5210183273
View reviewed changes https://github.com/python/cpython/pull/157550/files/5af19ddb0dda74f30180c9abf3e77d41374bbdf7
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/157550#pullrequestreview-5210183273
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157550
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31173392716
https://github.com/hugovk
hugovkhttps://github.com/hugovk
ec7bf22https://github.com/python/cpython/commit/ec7bf22435c98cb570907e2367ca8e3112e136f6
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31174388100
Please reload this pagehttps://github.com/python/cpython/pull/157550
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31174392138
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Sep 15, 2026https://github.com/python/cpython/pull/157550#event-31174394996
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
September 15, 2026 13:08https://github.com/python/cpython/pull/157550#event-31174394057
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157550
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/157550/files/5af19ddb0dda74f30180c9abf3e77d41374bbdf7
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
Please reload this pagehttps://github.com/python/cpython/pull/157550
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
topic-C-API https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Atopic-C-API
Docs PRs https://github.com/orgs/python/projects/50
Please reload this pagehttps://github.com/python/cpython/pull/157550
https://github.com/miss-islington
https://github.com/vstinner
https://github.com/hugovk
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.