René's URL Explorer Experiment


Title: gh-157242: Fix PyBytesWriter_Resize() on MemoryError by vstinner · Pull Request #157243 · python/cpython · GitHub

Open Graph Title: gh-157242: Fix PyBytesWriter_Resize() on MemoryError by vstinner · Pull Request #157243 · python/cpython

X Title: gh-157242: Fix PyBytesWriter_Resize() on MemoryError by vstinner · Pull Request #157243 · python/cpython

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

Open Graph Description: If PyBytesWriter_Resize() fails, leave the writer unchanged. Add a new internal _PyBytes_ResizeKeepOnError() function similar to _PyBytes_Resize() but leaves the bytes object unchanged on error. ...

X Description: If PyBytesWriter_Resize() fails, leave the writer unchanged. Add a new internal _PyBytes_ResizeKeepOnError() function similar to _PyBytes_Resize() but leaves the bytes object unchanged on error. ...

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

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:a59d674c-2ac9-f990-7923-41c6f3487ef9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD9D6:FC5BE:313894A:4166054:6B01E7DA
html-safe-noncee3fd894ffa753988f2220bdbef76daac149e1232982fc3b5478420bc57599b28
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUQ2OkZDNUJFOjMxMzg5NEE6NDE2NjA1NDo2QjAxRTdEQSIsInZpc2l0b3JfaWQiOiI0NDk5MTAyMjQ0MzU2MDg5ODE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac99290398603e951e393d6a8a6eff70187b7891242fd5b57dec52144757786c80
hovercard-subject-tagpull_request:4490707277
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/157243/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1fa59db537d87a5ce0cdf6f2b7234018e6f26900f745c3cd45247b0853bbef2a/python/cpython/pull/157243
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1fa59db537d87a5ce0cdf6f2b7234018e6f26900f745c3cd45247b0853bbef2a/python/cpython/pull/157243
og:image:altIf PyBytesWriter_Resize() fails, leave the writer unchanged. Add a new internal _PyBytes_ResizeKeepOnError() function similar to _PyBytes_Resize() but leaves the bytes object unchanged on error. ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
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/157243#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157243
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%2F157243
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/157243
Reloadhttps://github.com/python/cpython/pull/157243
Reloadhttps://github.com/python/cpython/pull/157243
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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:writer_resize2https://github.com/vstinner/cpython/tree/writer_resize2
Conversationhttps://github.com/python/cpython/pull/157243
Commits23 (23)https://github.com/python/cpython/pull/157243/commits
Checkshttps://github.com/python/cpython/pull/157243/checks
Files changedhttps://github.com/python/cpython/pull/157243/files
gh-157242: Fix PyBytesWriter_Resize() on MemoryErrorhttps://github.com/python/cpython/pull/157243#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:writer_resize2https://github.com/vstinner/cpython/tree/writer_resize2
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026https://github.com/python/cpython/pull/157243#issue-5406304114
Please reload this pagehttps://github.com/python/cpython/pull/157243
bytearray.resize() must not clear the object on error (memory allocation failure) #157242https://github.com/python/cpython/issues/157242
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
pythongh-157242https://github.com/python/cpython/issues/157242
: Leave bytearray unchanged if resize() failshttps://github.com/python/cpython/pull/157243/commits/d0441c49597936730fc9ba6c69bba5e6814399a8
d0441c4https://github.com/python/cpython/pull/157243/commits/d0441c49597936730fc9ba6c69bba5e6814399a8
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Sep 10, 2026https://github.com/python/cpython/pull/157243#event-30867818163
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 10, 2026 https://github.com/python/cpython/pull/157243#ref-issue-5406148843
bytearray.resize() must not clear the object on error (memory allocation failure) #157242 https://github.com/python/cpython/issues/157242
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
Sep 10, 2026https://github.com/python/cpython/pull/157243#event-30867822561
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5161456546
View reviewed changes https://github.com/python/cpython/pull/157243/files/d0441c49597936730fc9ba6c69bba5e6814399a8
Objects/bytesobject.chttps://github.com/python/cpython/pull/157243/files/d0441c49597936730fc9ba6c69bba5e6814399a8#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5161486150
View reviewed changes https://github.com/python/cpython/pull/157243/files/d0441c49597936730fc9ba6c69bba5e6814399a8
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/157243/files/d0441c49597936730fc9ba6c69bba5e6814399a8#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
Add NEWS entrieshttps://github.com/python/cpython/pull/157243/commits/5f1ef328da91e6708fd4c474508a32408d069a19
5f1ef32https://github.com/python/cpython/pull/157243/commits/5f1ef328da91e6708fd4c474508a32408d069a19
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5611767776
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5163844058
View reviewed changes https://github.com/python/cpython/pull/157243/files/5f1ef328da91e6708fd4c474508a32408d069a19
serhiy-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/157243#pullrequestreview-5163844058
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5164213918
View reviewed changes https://github.com/python/cpython/pull/157243/files/5f1ef328da91e6708fd4c474508a32408d069a19
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/157243/files/5f1ef328da91e6708fd4c474508a32408d069a19#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/157243
vstinnerhttps://github.com/vstinner
September 10, 2026 10:39https://github.com/python/cpython/pull/157243#commits-pushed-a1e64d3
https://github.com/vstinner
https://github.com/maurycy
Fix resize() with non-zero starthttps://github.com/python/cpython/pull/157243/commits/a1e64d39f51d65e9572c94604e16d5b001ed4caa
a1e64d3https://github.com/python/cpython/pull/157243/commits/a1e64d39f51d65e9572c94604e16d5b001ed4caa
https://github.com/vstinner
Reimplement _PyBytes_Resize() via _PyBytes_ResizeKeepOnError()https://github.com/python/cpython/pull/157243/commits/4b4bcfba9682cd70076ad848497fca001a4f2988
4b4bcfbhttps://github.com/python/cpython/pull/157243/commits/4b4bcfba9682cd70076ad848497fca001a4f2988
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5615875272
@maurycyhttps://github.com/maurycy
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5615919798
gh-156996https://github.com/python/cpython/pull/156996
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
Merge branch 'main' into writer_resize2https://github.com/python/cpython/pull/157243/commits/ba27fe049c0cf53eb8243b86a9639865f4214eb3
ba27fe0https://github.com/python/cpython/pull/157243/commits/ba27fe049c0cf53eb8243b86a9639865f4214eb3
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5616231699
gh-156996https://github.com/python/cpython/pull/156996
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5165241659
View reviewed changes https://github.com/python/cpython/pull/157243/files/ba27fe049c0cf53eb8243b86a9639865f4214eb3
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/157243/files/ba27fe049c0cf53eb8243b86a9639865f4214eb3#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/157243
vstinnerhttps://github.com/vstinner
September 10, 2026 12:03https://github.com/python/cpython/pull/157243#commits-pushed-4d581fa
https://github.com/vstinner
Fix resize() when shrinking the bytearrayhttps://github.com/python/cpython/pull/157243/commits/4d581fae561124a745c27fbadbe4f54751cf7199
4d581fahttps://github.com/python/cpython/pull/157243/commits/4d581fae561124a745c27fbadbe4f54751cf7199
https://github.com/vstinner
Fix take_bytes()https://github.com/python/cpython/pull/157243/commits/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71
f51cba5https://github.com/python/cpython/pull/157243/commits/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5617156732
@maurycyhttps://github.com/maurycy
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5617952740
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5167116922
View reviewed changes https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71
Lib/test/test_bytes.pyhttps://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-58df2535f64e3dcfb0677a7f543924d976fd982b595f8e34902a73f3deae40eb
Please reload this pagehttps://github.com/python/cpython/pull/157243
Objects/bytesobject.chttps://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51
Please reload this pagehttps://github.com/python/cpython/pull/157243
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/maurycy
maurycyhttps://github.com/maurycy
Sep 10, 2026https://github.com/python/cpython/pull/157243#issuecomment-5621511761
Please reload this pagehttps://github.com/python/cpython/pull/157243
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Sep 10, 2026 https://github.com/python/cpython/pull/157243#pullrequestreview-5173189887
View reviewed changes https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71
Lib/test/test_bytes.pyhttps://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-58df2535f64e3dcfb0677a7f543924d976fd982b595f8e34902a73f3deae40eb
Please reload this pagehttps://github.com/python/cpython/pull/157243
Objects/bytearrayobject.chttps://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c
Please reload this pagehttps://github.com/python/cpython/pull/157243
vstinnerhttps://github.com/vstinner
September 11, 2026 18:29https://github.com/python/cpython/pull/157243#commits-pushed-7116757
https://github.com/vstinner
Fix typo in test_take_bytes_error(): pass to_take argumenthttps://github.com/python/cpython/pull/157243/commits/7116757d42fd0e3c744b899b9195bfbc7a6ff06e
7116757https://github.com/python/cpython/pull/157243/commits/7116757d42fd0e3c744b899b9195bfbc7a6ff06e
https://github.com/vstinner
Add inject_memory_error()https://github.com/python/cpython/pull/157243/commits/0ca5c9cd8b670d46d236e2174b9a7e4b5e8e5934
0ca5c9chttps://github.com/python/cpython/pull/157243/commits/0ca5c9cd8b670d46d236e2174b9a7e4b5e8e5934
https://github.com/vstinner
Remove alloc parameter of bytearray_reinit_from_bytes()https://github.com/python/cpython/pull/157243/commits/ba1e2c8d6be990393f83492891ec14500c7ab56b
ba1e2c8https://github.com/python/cpython/pull/157243/commits/ba1e2c8d6be990393f83492891ec14500c7ab56b
https://github.com/vstinner
Add bytearray_realign_data_lock_held()https://github.com/python/cpython/pull/157243/commits/e9e1f02cd8bff76b30ea54bff4587bae5a7a3bf9
e9e1f02https://github.com/python/cpython/pull/157243/commits/e9e1f02cd8bff76b30ea54bff4587bae5a7a3bf9
https://github.com/vstinner
Don't call _PyReftracerTrack() on dangling pointerhttps://github.com/python/cpython/pull/157243/commits/a0a3753ce6338a45db3f48af5af33f4ddb963d22
a0a3753https://github.com/python/cpython/pull/157243/commits/a0a3753ce6338a45db3f48af5af33f4ddb963d22
https://github.com/vstinner
Add test_bytes_resize_tracer()https://github.com/python/cpython/pull/157243/commits/53c3b5117971c3b85e658dc5706b6362be547435
53c3b51https://github.com/python/cpython/pull/157243/commits/53c3b5117971c3b85e658dc5706b6362be547435
vstinnerhttps://github.com/vstinner
September 12, 2026 00:38https://github.com/python/cpython/pull/157243#commits-pushed-306f132
https://github.com/vstinner
Merge branch 'main' into writer_resize2https://github.com/python/cpython/pull/157243/commits/306f13270b0d80b884545c89114ed5c768384a58
306f132https://github.com/python/cpython/pull/157243/commits/306f13270b0d80b884545c89114ed5c768384a58
https://github.com/vstinner
Revert bytearray changeshttps://github.com/python/cpython/pull/157243/commits/a9a1423a1293c67dc9e7b6e24f908e2b98cce0c9
a9a1423https://github.com/python/cpython/pull/157243/commits/a9a1423a1293c67dc9e7b6e24f908e2b98cce0c9
https://github.com/vstinner
Resize: set pv earlierhttps://github.com/python/cpython/pull/157243/commits/9fa1305a1b4b30ab7cf9e89d1a024e60084d01c4
9fa1305https://github.com/python/cpython/pull/157243/commits/9fa1305a1b4b30ab7cf9e89d1a024e60084d01c4
https://github.com/vstinner
Move PyBytesWriter testhttps://github.com/python/cpython/pull/157243/commits/9ce6a9946df6823c12f73d4f2d0a24dd040bb229
9ce6a99https://github.com/python/cpython/pull/157243/commits/9ce6a9946df6823c12f73d4f2d0a24dd040bb229
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 11, 2026 22:49https://github.com/python/cpython/pull/157243#event-31003228220
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 11, 2026https://github.com/python/cpython/pull/157243#issuecomment-5641522894
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
needs backport to 3.15 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.15%22
Sep 11, 2026https://github.com/python/cpython/pull/157243#event-31003468789
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
f5dd52dhttps://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
Sep 11, 2026https://github.com/python/cpython/pull/157243#event-31004256914
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 11, 2026 23:22https://github.com/python/cpython/pull/157243#event-31004257501
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
Sep 11, 2026https://github.com/python/cpython/pull/157243#event-31004258313
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 11, 2026https://github.com/python/cpython/pull/157243#event-31004324569
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 11, 2026https://github.com/python/cpython/pull/157243#issuecomment-5641783947
gh-157340https://github.com/python/cpython/pull/157340
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Sep 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-5642671343
f5dd52dhttps://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
the buildbot page in the devguidehttps://devguide.python.org/buildbots/
https://buildbot.python.org/#/builders/484/builds/7361https://buildbot.python.org/#/builders/484/builds/7361
f5dd52dhttps://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
https://buildbot.python.org/#/builders/484/builds/7361https://buildbot.python.org/#/builders/484/builds/7361
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 12, 2026 https://github.com/python/cpython/pull/157243#ref-pullrequest-5429799407
gh-157242: Leave bytearray unchanged if resize() fails #157340 https://github.com/python/cpython/pull/157340
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-5642912650
gh-157350https://github.com/python/cpython/pull/157350
Please reload this pagehttps://github.com/python/cpython/pull/157243
clin1234https://github.com/clin1234
Sep 12, 2026 https://github.com/python/cpython/pull/157243#ref-commit-b73337d
https://github.com/vstinner
https://github.com/maurycy
https://github.com/clin1234
pythongh-157242https://github.com/python/cpython/issues/157242
: Fix PyBytesWriter_Resize() on MemoryError (https://github.com/clin1234/cpython/commit/b73337dc7c2704ee50cfae3c2eccf528c4c17597
python#15…https://github.com/python/cpython/pull/157243
b73337dhttps://github.com/clin1234/cpython/commit/b73337dc7c2704ee50cfae3c2eccf528c4c17597
…7243https://github.com/python/cpython/pull/157243
johnslavikhttps://github.com/johnslavik
Sep 14, 2026 https://github.com/python/cpython/pull/157243#ref-commit-6a68fda
https://github.com/vstinner
https://github.com/maurycy
https://github.com/johnslavik
pythongh-157242https://github.com/python/cpython/issues/157242
: Fix PyBytesWriter_Resize() on MemoryError (https://github.com/johnslavik/cpython/commit/6a68fda89c408928b693c174cb4f678b3c43c342
python#15…https://github.com/python/cpython/pull/157243
6a68fdahttps://github.com/johnslavik/cpython/commit/6a68fda89c408928b693c174cb4f678b3c43c342
…7243https://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
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
Oct 12, 2026https://github.com/python/cpython/pull/157243#event-33079002643
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-6132117672
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-6132117759
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-6132118686
@vstinnerhttps://github.com/vstinner
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
vstinnerhttps://github.com/vstinner
Oct 12, 2026https://github.com/python/cpython/pull/157243#event-33079010135
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Oct 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-6132120014
@vstinnerhttps://github.com/vstinner
cherry_pickerhttps://pypi.org/project/cherry-picker/
devguidehttps://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes
Please reload this pagehttps://github.com/python/cpython/pull/157243
vstinnerhttps://github.com/vstinner
Oct 12, 2026 https://github.com/python/cpython/pull/157243#ref-commit-2f471c9
https://github.com/vstinner
https://github.com/maurycy
pythongh-157242https://github.com/python/cpython/issues/157242
: Fix PyBytesWriter_Resize() on MemoryError (https://github.com/vstinner/cpython/commit/2f471c9ffa8da0dbb42331608da734d825551258
python#15…https://github.com/python/cpython/pull/157243
2f471c9https://github.com/vstinner/cpython/commit/2f471c9ffa8da0dbb42331608da734d825551258
…7243https://github.com/python/cpython/pull/157243
f5dd52dhttps://github.com/vstinner/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 12, 2026https://github.com/python/cpython/pull/157243#issuecomment-6132378597
GH-159260https://github.com/python/cpython/pull/159260
3.15 branchhttps://github.com/python/cpython/tree/3.15
Please reload this pagehttps://github.com/python/cpython/pull/157243
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
Oct 12, 2026https://github.com/python/cpython/pull/157243#event-33080028823
vstinnerhttps://github.com/vstinner
Oct 12, 2026 https://github.com/python/cpython/pull/157243#ref-commit-73e6301
https://github.com/vstinner
https://github.com/maurycy
[3.15]https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a
gh-157242https://github.com/python/cpython/issues/157242
: Fix PyBytesWriter_Resize() on MemoryError (https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a
#157243https://github.com/python/cpython/pull/157243
) (https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a
…https://github.com/python/cpython/pull/159260
73e6301https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a
…#159260https://github.com/python/cpython/pull/159260
gh-157242https://github.com/python/cpython/issues/157242
#157243https://github.com/python/cpython/pull/157243
f5dd52dhttps://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
vstinnerhttps://github.com/vstinner
Oct 16, 2026 https://github.com/python/cpython/pull/157243#ref-commit-2e9acb4
https://github.com/vstinner
https://github.com/maurycy
[3.14]https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb
gh-157242https://github.com/python/cpython/issues/157242
: Do not close io.BytesIO on MemoryError (https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb
#159529https://github.com/python/cpython/pull/159529
)https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb
2e9acb4https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb
gh-157242https://github.com/python/cpython/issues/157242
#157243https://github.com/python/cpython/pull/157243
f5dd52dhttps://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
gh-157242https://github.com/python/cpython/issues/157242
#157352https://github.com/python/cpython/pull/157352
63d4398https://github.com/python/cpython/commit/63d4398be879e346ef68f899115f86cdb9fa555c
gh-157242https://github.com/python/cpython/issues/157242
#157344https://github.com/python/cpython/pull/157344
23eda00https://github.com/python/cpython/commit/23eda007f8d543495ba4935df75d243d76f9ef7f
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
needs backport to 3.14 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22
Oct 29, 2026https://github.com/python/cpython/pull/157243#event-34626418071
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%2F157243
https://github.com/cmaloney
cmaloney https://github.com/cmaloney
https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71
https://github.com/serhiy-storchaka
serhiy-storchaka https://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/157243/files/5f1ef328da91e6708fd4c474508a32408d069a19
https://github.com/maurycy
maurycy https://github.com/maurycy
https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
vstinner https://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/157243
https://github.com/vstinner
https://github.com/cmaloney
https://github.com/maurycy
https://github.com/bedevere-bot
https://github.com/serhiy-storchaka
https://github.com/StanFromIreland
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.