René's URL Explorer Experiment


Title: gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO by serhiy-storchaka · Pull Request #111210 · python/cpython · GitHub

Open Graph Title: gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO by serhiy-storchaka · Pull Request #111210 · python/cpython

X Title: gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIO by serhiy-storchaka · Pull Request #111210 · python/cpython

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

Open Graph Description: Issue: _io.BytesIO.getbuffer(): unshare_buffer: Assertion `self->exports == 0' failed #111174

X Description: Issue: _io.BytesIO.getbuffer(): unshare_buffer: Assertion `self->exports == 0' failed #111174

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

X: @github

direct link

Domain: github.com

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:62ff5f0e-ba0e-3b1c-641e-403575953f35
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9370:249D7F:1AB8476:26B98CA:6A54EB04
html-safe-nonce09b7e5b9b329f4987453ed4b313dd8cecbdbdb60a47785be9e6b7fbbcbd03e55
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzcwOjI0OUQ3RjoxQUI4NDc2OjI2Qjk4Q0E6NkE1NEVCMDQiLCJ2aXNpdG9yX2lkIjoiNDM3NDUyNjc2OTQ2Mzg4MDQ1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5d80ec8cd85a17388ab43a1f7c8359188191ccd6e3c048f21ae5c2270b03cb29
hovercard-subject-tagpull_request:1568939203
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/111210/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2402cdd8db4f1ce430317dfb2b12261549df13fdedf21201e2a13a2316559f97/python/cpython/pull/111210
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2402cdd8db4f1ce430317dfb2b12261549df13fdedf21201e2a13a2316559f97/python/cpython/pull/111210
og:image:altIssue: _io.BytesIO.getbuffer(): unshare_buffer: Assertion `self->exports == 0' failed #111174
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneeae2aab99907699a22d2c8449aa683ca74454fca87211b98f7c7b722086b2839
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
releasebb1b4ffdc07c66de20ad344214f55df0aa364bd3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/111210#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F111210
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F111210
Sign up https://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/111210
Reloadhttps://github.com/python/cpython/pull/111210
Reloadhttps://github.com/python/cpython/pull/111210
Please reload this pagehttps://github.com/python/cpython/pull/111210
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/111210
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:crash-empty-bytesio-getbufferhttps://github.com/serhiy-storchaka/cpython/tree/crash-empty-bytesio-getbuffer
Conversationhttps://github.com/python/cpython/pull/111210
Commits1 (1)https://github.com/python/cpython/pull/111210/commits
Checkshttps://github.com/python/cpython/pull/111210/checks
Files changedhttps://github.com/python/cpython/pull/111210/files
gh-111174: Fix crash in getbuffer() called repeatedly for empty BytesIOhttps://github.com/python/cpython/pull/111210#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:crash-empty-bytesio-getbufferhttps://github.com/serhiy-storchaka/cpython/tree/crash-empty-bytesio-getbuffer
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 23, 2023https://github.com/python/cpython/pull/111210#issue-1956895713
Please reload this pagehttps://github.com/python/cpython/pull/111210
_io.BytesIO.getbuffer(): unshare_buffer: Assertion `self->exports == 0' failed #111174https://github.com/python/cpython/issues/111174
Please reload this pagehttps://github.com/python/cpython/pull/111210
https://github.com/serhiy-storchaka
pythongh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empty…https://github.com/python/cpython/pull/111210/commits/d2cb62408fbc0a8b67f1a688a3bc46c2bb914bd9
d2cb624https://github.com/python/cpython/pull/111210/commits/d2cb62408fbc0a8b67f1a688a3bc46c2bb914bd9
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Oct 23, 2023https://github.com/python/cpython/pull/111210#event-10739137492
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 23, 2023 https://github.com/python/cpython/pull/111210#ref-issue-1955700665
_io.BytesIO.getbuffer(): unshare_buffer: Assertion `self->exports == 0' failed #111174 https://github.com/python/cpython/issues/111174
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
Oct 23, 2023https://github.com/python/cpython/pull/111210#event-10739138597
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
9da98c0https://github.com/python/cpython/commit/9da98c0d9a7cc55c67fb0bd3fa162fd3b2c2629b
Oct 25, 2023https://github.com/python/cpython/pull/111210#event-10765591248
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 25, 2023https://github.com/python/cpython/pull/111210#issuecomment-1778999931
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/111210
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
Oct 25, 2023https://github.com/python/cpython/pull/111210#event-10765591807
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
October 25, 2023 10:50https://github.com/python/cpython/pull/111210#event-10765592124
miss-islingtonhttps://github.com/miss-islington
Oct 25, 2023 https://github.com/python/cpython/pull/111210#ref-commit-3b014d8
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empty…https://github.com/miss-islington/cpython/commit/3b014d80daf49db2bca18112bbfc53e6d158d1aa
3b014d8https://github.com/miss-islington/cpython/commit/3b014d80daf49db2bca18112bbfc53e6d158d1aa
pythonGH-111210https://github.com/python/cpython/pull/111210
9da98c0https://github.com/miss-islington/cpython/commit/9da98c0d9a7cc55c67fb0bd3fa162fd3b2c2629b
miss-islingtonhttps://github.com/miss-islington
Oct 25, 2023 https://github.com/python/cpython/pull/111210#ref-commit-1263f62
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empty…https://github.com/miss-islington/cpython/commit/1263f629ec313454163ef92a0e85c8572ee79a51
1263f62https://github.com/miss-islington/cpython/commit/1263f629ec313454163ef92a0e85c8572ee79a51
pythonGH-111210https://github.com/python/cpython/pull/111210
9da98c0https://github.com/miss-islington/cpython/commit/9da98c0d9a7cc55c67fb0bd3fa162fd3b2c2629b
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 25, 2023https://github.com/python/cpython/pull/111210#issuecomment-1779000294
GH-111314https://github.com/python/cpython/pull/111314
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/111210
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Oct 25, 2023https://github.com/python/cpython/pull/111210#event-10765594257
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 25, 2023https://github.com/python/cpython/pull/111210#issuecomment-1779000418
GH-111315https://github.com/python/cpython/pull/111315
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/111210
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Oct 25, 2023https://github.com/python/cpython/pull/111210#event-10765595037
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 25, 2023 https://github.com/python/cpython/pull/111210#ref-commit-bb92fda
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.11]https://github.com/python/cpython/commit/bb92fdabc7ab9d77453452d5e61f8cc4ca167616
gh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empt…https://github.com/python/cpython/commit/bb92fdabc7ab9d77453452d5e61f8cc4ca167616
bb92fdahttps://github.com/python/cpython/commit/bb92fdabc7ab9d77453452d5e61f8cc4ca167616
GH-111210https://github.com/python/cpython/pull/111210
GH-111315https://github.com/python/cpython/pull/111315
9da98c0https://github.com/python/cpython/commit/9da98c0d9a7cc55c67fb0bd3fa162fd3b2c2629b
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 25, 2023 https://github.com/python/cpython/pull/111210#ref-commit-45c0b38
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.12]https://github.com/python/cpython/commit/45c0b388809d561750c4f0c791de6ec571215d26
gh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empt…https://github.com/python/cpython/commit/45c0b388809d561750c4f0c791de6ec571215d26
45c0b38https://github.com/python/cpython/commit/45c0b388809d561750c4f0c791de6ec571215d26
GH-111210https://github.com/python/cpython/pull/111210
GH-111314https://github.com/python/cpython/pull/111314
9da98c0https://github.com/python/cpython/commit/9da98c0d9a7cc55c67fb0bd3fa162fd3b2c2629b
aiskhttps://github.com/aisk
Feb 11, 2024 https://github.com/python/cpython/pull/111210#ref-commit-5c4f824
https://github.com/serhiy-storchaka
https://github.com/aisk
pythongh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empty…https://github.com/aisk/cpython/commit/5c4f824fd81641ada3c1ddc5bd0d3c74b2e743c5
5c4f824https://github.com/aisk/cpython/commit/5c4f824fd81641ada3c1ddc5bd0d3c74b2e743c5
pythonGH-111210https://github.com/python/cpython/pull/111210
Glyphackhttps://github.com/Glyphack
Sep 2, 2024 https://github.com/python/cpython/pull/111210#ref-commit-3173da0
https://github.com/serhiy-storchaka
https://github.com/Glyphack
pythongh-111174https://github.com/python/cpython/issues/111174
: Fix crash in getbuffer() called repeatedly for empty…https://github.com/Glyphack/cpython/commit/3173da0f1baadb71f7810c1ee0b872b2b62075ca
3173da0https://github.com/Glyphack/cpython/commit/3173da0f1baadb71f7810c1ee0b872b2b62075ca
pythonGH-111210https://github.com/python/cpython/pull/111210
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%2F111210
Please reload this pagehttps://github.com/python/cpython/pull/111210
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.