René's URL Explorer Experiment


Title: gh-71086: Document negative offset support in struct.pack_into() and unpack_from() by serhiy-storchaka · Pull Request #153650 · python/cpython · GitHub

Open Graph Title: gh-71086: Document negative offset support in struct.pack_into() and unpack_from() by serhiy-storchaka · Pull Request #153650 · python/cpython

X Title: gh-71086: Document negative offset support in struct.pack_into() and unpack_from() by serhiy-storchaka · Pull Request #153650 · python/cpython

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

Open Graph Description: struct.pack_into() and struct.unpack_from() (and the corresponding Struct methods) accept a negative offset, counting from the end of the buffer, but this was never documented. Document it in Doc/l...

X Description: struct.pack_into() and struct.unpack_from() (and the corresponding Struct methods) accept a negative offset, counting from the end of the buffer, but this was never documented. Document it in Doc/l...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:f7679569-ec95-1daf-4175-7bf03ba3c132
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9BC8:1A67FD:2C24A2:3C4C32:6AECC541
html-safe-nonce1855c89717e4e640de7f212a9dc6f80a7aac95edbf8b0f280a4958a1c979bc89
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkM4OjFBNjdGRDoyQzI0QTI6M0M0QzMyOjZBRUNDNTQxIiwidmlzaXRvcl9pZCI6IjcwMDc4ODA5MTY0MTExMzkzOTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf9e498f5c6a17af324df67416f980f1c5a3f99c97795f06c7bb93072ae6223aa
hovercard-subject-tagpull_request:4042922205
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/153650/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/efab2f8b86b29704a2c8a2fbe8bbc9f99a8b1bef4e44c5255979e7ca440157e6/python/cpython/pull/153650
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/efab2f8b86b29704a2c8a2fbe8bbc9f99a8b1bef4e44c5255979e7ca440157e6/python/cpython/pull/153650
og:image:altstruct.pack_into() and struct.unpack_from() (and the corresponding Struct methods) accept a negative offset, counting from the end of the buffer, but this was never documented. Document it in Doc/l...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Nonedc0b519c5798dc1150b88dc4c06a8b9634d0069218dc04e469970e76aad74016
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
releasedb139f0bf57b59bf9a8c4abb0849924d6c6ca559
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/153650#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153650
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%2F153650
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/153650
Reloadhttps://github.com/python/cpython/pull/153650
Reloadhttps://github.com/python/cpython/pull/153650
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.3k (2.3k)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/pulse
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:doc-struct-negative-offsethttps://github.com/serhiy-storchaka/cpython/tree/doc-struct-negative-offset
Conversationhttps://github.com/python/cpython/pull/153650
Commits1 (1)https://github.com/python/cpython/pull/153650/commits
Checkshttps://github.com/python/cpython/pull/153650/checks
Files changedhttps://github.com/python/cpython/pull/153650/files
gh-71086: Document negative offset support in struct.pack_into() and unpack_from()https://github.com/python/cpython/pull/153650#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:doc-struct-negative-offsethttps://github.com/serhiy-storchaka/cpython/tree/doc-struct-negative-offset
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 13, 2026https://github.com/python/cpython/pull/153650#issue-4871944471
struct.pack_into(), struct.unpack_from() don't document support for negative offsets #71086https://github.com/python/cpython/issues/71086
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/serhiy-storchaka
https://github.com/claude
pythongh-71086https://github.com/python/cpython/issues/71086
: Document negative offset support in struct.pack_into(…https://github.com/python/cpython/pull/153650/commits/c30d5677e9a485afdfa04a80c2d4267a33fec361
c30d567https://github.com/python/cpython/pull/153650/commits/c30d5677e9a485afdfa04a80c2d4267a33fec361
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 13, 2026https://github.com/python/cpython/pull/153650#event-27898374389
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 13, 2026 https://github.com/python/cpython/pull/153650#ref-issue-1198951570
struct.pack_into(), struct.unpack_from() don't document support for negative offsets #71086 https://github.com/python/cpython/issues/71086
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
docs https://github.com/python/cpython/issues?q=state%3Aopen%20label%3Adocs
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
skip news https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22skip%20news%22
Jul 13, 2026https://github.com/python/cpython/pull/153650#event-27898383670
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Jul 13, 2026https://github.com/python/cpython/pull/153650#event-27898386944
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Jul 13, 2026https://github.com/python/cpython/pull/153650#event-27898387971
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jul 13, 2026https://github.com/python/cpython/pull/153650#issuecomment-4956126092
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33560504https://app.readthedocs.org/projects/cpython-previews/builds/33560504/
c30d567https://github.com/python/cpython/commit/c30d5677e9a485afdfa04a80c2d4267a33fec361
mainhttps://cpython-previews.readthedocs.io/en/main/
adebb68https://github.com/python/cpython/commit/adebb68153346043c0671fa5725d269c32cc40e4
  🔍 Preview build   https://cpython-previews--153650.org.readthedocs.build/en/153650/
library/struct.htmlhttps://cpython-previews--153650.org.readthedocs.build/en/153650/library/struct.html
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
July 13, 2026 08:54https://github.com/python/cpython/pull/153650#event-27898768967
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
1706d14https://github.com/python/cpython/commit/1706d14a2a1f009f786b8d7599e53c168b0392e0
Jul 14, 2026https://github.com/python/cpython/pull/153650#event-27964890485
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/github-project-automation
github-project-automationhttps://github.com/apps/github-project-automation
Docs PRshttps://github.com/orgs/python/projects/50
Jul 14, 2026https://github.com/python/cpython/pull/153650#event-27964896250
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 14, 2026https://github.com/python/cpython/pull/153650#issuecomment-4969772724
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jul 14, 2026https://github.com/python/cpython/pull/153650#event-27964893474
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 14, 2026https://github.com/python/cpython/pull/153650#issuecomment-4969774623
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 14, 2026https://github.com/python/cpython/pull/153650#event-27964905623
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 14, 2026https://github.com/python/cpython/pull/153650#issuecomment-4969775325
GH-153699https://github.com/python/cpython/pull/153699
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jul 14, 2026https://github.com/python/cpython/pull/153650#issuecomment-4969775470
@serhiy-storchakahttps://github.com/serhiy-storchaka
cherry_pickerhttps://pypi.org/project/cherry-picker/
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Jul 14, 2026https://github.com/python/cpython/pull/153650#event-27964908097
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
July 15, 2026 09:02https://github.com/python/cpython/pull/153650#event-28006871076
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/153650#ref-pullrequest-4891143796
[3.14] gh-71086: Document negative offset support in struct.pack_into() and unpack_from() (GH-153650) #153753 https://github.com/python/cpython/pull/153753
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 15, 2026https://github.com/python/cpython/pull/153650#issuecomment-4979017703
GH-153753https://github.com/python/cpython/pull/153753
3.14 branchhttps://github.com/python/cpython/tree/3.14
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Jul 15, 2026https://github.com/python/cpython/pull/153650#event-28007843995
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/153650#ref-pullrequest-4891147562
[3.13] gh-71086: Document negative offset support in struct.pack_into() and unpack_from() (GH-153650) #153754 https://github.com/python/cpython/pull/153754
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 15, 2026https://github.com/python/cpython/pull/153650#issuecomment-4979022229
GH-153754https://github.com/python/cpython/pull/153754
3.13 branchhttps://github.com/python/cpython/tree/3.13
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.13 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22
Jul 15, 2026https://github.com/python/cpython/pull/153650#event-28007864802
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026https://github.com/python/cpython/pull/153650#event-28007875165
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/153650#ref-commit-16b03d8
https://github.com/serhiy-storchaka
https://github.com/claude
[3.13]https://github.com/python/cpython/commit/16b03d8cceaac67ae846c451d22a045f06d8a0f4
gh-71086https://github.com/python/cpython/issues/71086
: Document negative offset support in struct.pack_into…https://github.com/python/cpython/commit/16b03d8cceaac67ae846c451d22a045f06d8a0f4
16b03d8https://github.com/python/cpython/commit/16b03d8cceaac67ae846c451d22a045f06d8a0f4
GH-153650https://github.com/python/cpython/pull/153650
GH-153754https://github.com/python/cpython/pull/153754
1706d14https://github.com/python/cpython/commit/1706d14a2a1f009f786b8d7599e53c168b0392e0
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/153650#ref-commit-29e733a
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
[3.15]https://github.com/python/cpython/commit/29e733ac31ea21c4d62f4e61bca61234cb6b0827
gh-71086https://github.com/python/cpython/issues/71086
: Document negative offset support in struct.pack_into…https://github.com/python/cpython/commit/29e733ac31ea21c4d62f4e61bca61234cb6b0827
29e733ahttps://github.com/python/cpython/commit/29e733ac31ea21c4d62f4e61bca61234cb6b0827
GH-153650https://github.com/python/cpython/pull/153650
GH-153699https://github.com/python/cpython/pull/153699
1706d14https://github.com/python/cpython/commit/1706d14a2a1f009f786b8d7599e53c168b0392e0
serhiy-storchakahttps://github.com/serhiy-storchaka
Jul 15, 2026 https://github.com/python/cpython/pull/153650#ref-commit-d85d26b
https://github.com/serhiy-storchaka
https://github.com/claude
[3.14]https://github.com/python/cpython/commit/d85d26b1777ea0da1b13b10cdb4209993b1c2696
gh-71086https://github.com/python/cpython/issues/71086
: Document negative offset support in struct.pack_into…https://github.com/python/cpython/commit/d85d26b1777ea0da1b13b10cdb4209993b1c2696
d85d26bhttps://github.com/python/cpython/commit/d85d26b1777ea0da1b13b10cdb4209993b1c2696
GH-153650https://github.com/python/cpython/pull/153650
GH-153753https://github.com/python/cpython/pull/153753
1706d14https://github.com/python/cpython/commit/1706d14a2a1f009f786b8d7599e53c168b0392e0
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%2F153650
Please reload this pagehttps://github.com/python/cpython/pull/153650
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
Docs PRs https://github.com/orgs/python/projects/50
Please reload this pagehttps://github.com/python/cpython/pull/153650
https://github.com/serhiy-storchaka
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.