| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a59d674c-2ac9-f990-7923-41c6f3487ef9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D9D6:FC5BE:313894A:4166054:6B01E7DA |
| html-safe-nonce | e3fd894ffa753988f2220bdbef76daac149e1232982fc3b5478420bc57599b28 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOUQ2OkZDNUJFOjMxMzg5NEE6NDE2NjA1NDo2QjAxRTdEQSIsInZpc2l0b3JfaWQiOiI0NDk5MTAyMjQ0MzU2MDg5ODE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 99290398603e951e393d6a8a6eff70187b7891242fd5b57dec52144757786c80 |
| hovercard-subject-tag | pull_request:4490707277 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/157243/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/1fa59db537d87a5ce0cdf6f2b7234018e6f26900f745c3cd45247b0853bbef2a/python/cpython/pull/157243 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1fa59db537d87a5ce0cdf6f2b7234018e6f26900f745c3cd45247b0853bbef2a/python/cpython/pull/157243 |
| og:image:alt | 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.
... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/157243#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157243 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F157243 |
| 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 |
| Reload | https://github.com/python/cpython/pull/157243 |
| Reload | https://github.com/python/cpython/pull/157243 |
| Reload | https://github.com/python/cpython/pull/157243 |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| https://github.com/python/cpython |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:writer_resize2 | https://github.com/vstinner/cpython/tree/writer_resize2 |
| Conversation | https://github.com/python/cpython/pull/157243 |
| Commits23 (23) | https://github.com/python/cpython/pull/157243/commits |
| Checks | https://github.com/python/cpython/pull/157243/checks |
| Files changed | https://github.com/python/cpython/pull/157243/files |
| gh-157242: Fix PyBytesWriter_Resize() on MemoryError | https://github.com/python/cpython/pull/157243#top |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:writer_resize2 | https://github.com/vstinner/cpython/tree/writer_resize2 |
|
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issue-5406304114 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| bytearray.resize() must not clear the object on error (memory allocation failure) #157242 | https://github.com/python/cpython/issues/157242 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
|
| https://github.com/vstinner |
| pythongh-157242 | https://github.com/python/cpython/issues/157242 |
| : Leave bytearray unchanged if resize() fails | https://github.com/python/cpython/pull/157243/commits/d0441c49597936730fc9ba6c69bba5e6814399a8 |
| d0441c4 | https://github.com/python/cpython/pull/157243/commits/d0441c49597936730fc9ba6c69bba5e6814399a8 |
| https://github.com/vstinner |
| vstinner | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-30867818163 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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-app | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-30867822561 |
| https://github.com/vstinner |
| vstinner | https://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.c | https://github.com/python/cpython/pull/157243/files/d0441c49597936730fc9ba6c69bba5e6814399a8#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/vstinner |
| vstinner | https://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.c | https://github.com/python/cpython/pull/157243/files/d0441c49597936730fc9ba6c69bba5e6814399a8#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
|
| https://github.com/vstinner |
| Add NEWS entries | https://github.com/python/cpython/pull/157243/commits/5f1ef328da91e6708fd4c474508a32408d069a19 |
| 5f1ef32 | https://github.com/python/cpython/pull/157243/commits/5f1ef328da91e6708fd4c474508a32408d069a19 |
| https://github.com/cmaloney |
| cmaloney | https://github.com/cmaloney |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5611767776 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://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-storchaka | https://github.com/serhiy-storchaka |
| https://github.com/python/cpython/pull/157243#pullrequestreview-5163844058 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/maurycy |
| maurycy | https://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.c | https://github.com/python/cpython/pull/157243/files/5f1ef328da91e6708fd4c474508a32408d069a19#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| vstinner | https://github.com/vstinner |
| September 10, 2026 10:39 | https://github.com/python/cpython/pull/157243#commits-pushed-a1e64d3 |
|
| https://github.com/vstinner |
|
| https://github.com/maurycy |
| Fix resize() with non-zero start | https://github.com/python/cpython/pull/157243/commits/a1e64d39f51d65e9572c94604e16d5b001ed4caa |
| a1e64d3 | https://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 |
| 4b4bcfb | https://github.com/python/cpython/pull/157243/commits/4b4bcfba9682cd70076ad848497fca001a4f2988 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5615875272 |
| @maurycy | https://github.com/maurycy |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5615919798 |
| gh-156996 | https://github.com/python/cpython/pull/156996 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
|
| https://github.com/vstinner |
| Merge branch 'main' into writer_resize2 | https://github.com/python/cpython/pull/157243/commits/ba27fe049c0cf53eb8243b86a9639865f4214eb3 |
| ba27fe0 | https://github.com/python/cpython/pull/157243/commits/ba27fe049c0cf53eb8243b86a9639865f4214eb3 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5616231699 |
| gh-156996 | https://github.com/python/cpython/pull/156996 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/maurycy |
| maurycy | https://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.c | https://github.com/python/cpython/pull/157243/files/ba27fe049c0cf53eb8243b86a9639865f4214eb3#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| vstinner | https://github.com/vstinner |
| September 10, 2026 12:03 | https://github.com/python/cpython/pull/157243#commits-pushed-4d581fa |
|
| https://github.com/vstinner |
| Fix resize() when shrinking the bytearray | https://github.com/python/cpython/pull/157243/commits/4d581fae561124a745c27fbadbe4f54751cf7199 |
| 4d581fa | https://github.com/python/cpython/pull/157243/commits/4d581fae561124a745c27fbadbe4f54751cf7199 |
|
| https://github.com/vstinner |
| Fix take_bytes() | https://github.com/python/cpython/pull/157243/commits/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71 |
| f51cba5 | https://github.com/python/cpython/pull/157243/commits/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5617156732 |
| @maurycy | https://github.com/maurycy |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/maurycy |
| maurycy | https://github.com/maurycy |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5617952740 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/maurycy |
| maurycy | https://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.py | https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-58df2535f64e3dcfb0677a7f543924d976fd982b595f8e34902a73f3deae40eb |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| Objects/bytesobject.c | https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| Objects/bytearrayobject.c | https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/maurycy |
| maurycy | https://github.com/maurycy |
| Sep 10, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5621511761 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/cmaloney |
| cmaloney | https://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.py | https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-58df2535f64e3dcfb0677a7f543924d976fd982b595f8e34902a73f3deae40eb |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| Objects/bytearrayobject.c | https://github.com/python/cpython/pull/157243/files/f51cba57d3e5b2acb6bfd4540ebf4abc679beb71#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| vstinner | https://github.com/vstinner |
| September 11, 2026 18:29 | https://github.com/python/cpython/pull/157243#commits-pushed-7116757 |
|
| https://github.com/vstinner |
| Fix typo in test_take_bytes_error(): pass to_take argument | https://github.com/python/cpython/pull/157243/commits/7116757d42fd0e3c744b899b9195bfbc7a6ff06e |
| 7116757 | https://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 |
| 0ca5c9c | https://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 |
| ba1e2c8 | https://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 |
| e9e1f02 | https://github.com/python/cpython/pull/157243/commits/e9e1f02cd8bff76b30ea54bff4587bae5a7a3bf9 |
|
| https://github.com/vstinner |
| Don't call _PyReftracerTrack() on dangling pointer | https://github.com/python/cpython/pull/157243/commits/a0a3753ce6338a45db3f48af5af33f4ddb963d22 |
| a0a3753 | https://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 |
| 53c3b51 | https://github.com/python/cpython/pull/157243/commits/53c3b5117971c3b85e658dc5706b6362be547435 |
| vstinner | https://github.com/vstinner |
| September 12, 2026 00:38 | https://github.com/python/cpython/pull/157243#commits-pushed-306f132 |
|
| https://github.com/vstinner |
| Merge branch 'main' into writer_resize2 | https://github.com/python/cpython/pull/157243/commits/306f13270b0d80b884545c89114ed5c768384a58 |
| 306f132 | https://github.com/python/cpython/pull/157243/commits/306f13270b0d80b884545c89114ed5c768384a58 |
|
| https://github.com/vstinner |
| Revert bytearray changes | https://github.com/python/cpython/pull/157243/commits/a9a1423a1293c67dc9e7b6e24f908e2b98cce0c9 |
| a9a1423 | https://github.com/python/cpython/pull/157243/commits/a9a1423a1293c67dc9e7b6e24f908e2b98cce0c9 |
|
| https://github.com/vstinner |
| Resize: set pv earlier | https://github.com/python/cpython/pull/157243/commits/9fa1305a1b4b30ab7cf9e89d1a024e60084d01c4 |
| 9fa1305 | https://github.com/python/cpython/pull/157243/commits/9fa1305a1b4b30ab7cf9e89d1a024e60084d01c4 |
|
| https://github.com/vstinner |
| Move PyBytesWriter test | https://github.com/python/cpython/pull/157243/commits/9ce6a9946df6823c12f73d4f2d0a24dd040bb229 |
| 9ce6a99 | https://github.com/python/cpython/pull/157243/commits/9ce6a9946df6823c12f73d4f2d0a24dd040bb229 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| September 11, 2026 22:49 | https://github.com/python/cpython/pull/157243#event-31003228220 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 11, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5641522894 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/vstinner |
| vstinner | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-31003468789 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| f5dd52d | https://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| Sep 11, 2026 | https://github.com/python/cpython/pull/157243#event-31004256914 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| September 11, 2026 23:22 | https://github.com/python/cpython/pull/157243#event-31004257501 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-31004258313 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 11, 2026 | https://github.com/python/cpython/pull/157243#event-31004324569 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| Sep 11, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5641783947 |
| gh-157340 | https://github.com/python/cpython/pull/157340 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/bedevere-bot |
| bedevere-bot | https://github.com/bedevere-bot |
| Sep 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5642671343 |
| f5dd52d | https://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| the buildbot page in the devguide | https://devguide.python.org/buildbots/ |
| https://buildbot.python.org/#/builders/484/builds/7361 | https://buildbot.python.org/#/builders/484/builds/7361 |
| f5dd52d | https://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| https://buildbot.python.org/#/builders/484/builds/7361 | https://buildbot.python.org/#/builders/484/builds/7361 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/vstinner |
| vstinner | https://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 |
| vstinner | https://github.com/vstinner |
| Sep 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-5642912650 |
| gh-157350 | https://github.com/python/cpython/pull/157350 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| clin1234 | https://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-157242 | https://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 |
| b73337d | https://github.com/clin1234/cpython/commit/b73337dc7c2704ee50cfae3c2eccf528c4c17597 |
| …7243 | https://github.com/python/cpython/pull/157243 |
| johnslavik | https://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-157242 | https://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 |
| 6a68fda | https://github.com/johnslavik/cpython/commit/6a68fda89c408928b693c174cb4f678b3c43c342 |
| …7243 | https://github.com/python/cpython/pull/157243 |
| https://github.com/vstinner |
| vstinner | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-33079002643 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Oct 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-6132117672 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Oct 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-6132117759 |
| @vstinner | https://github.com/vstinner |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Oct 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-6132118686 |
| @vstinner | https://github.com/vstinner |
| cherry_picker | https://pypi.org/project/cherry-picker/ |
| devguide | https://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| vstinner | https://github.com/vstinner |
| Oct 12, 2026 | https://github.com/python/cpython/pull/157243#event-33079010135 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Oct 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-6132120014 |
| @vstinner | https://github.com/vstinner |
| cherry_picker | https://pypi.org/project/cherry-picker/ |
| devguide | https://devguide.python.org/getting-started/git-boot-camp/#backporting-merged-changes |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| vstinner | https://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-157242 | https://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 |
| 2f471c9 | https://github.com/vstinner/cpython/commit/2f471c9ffa8da0dbb42331608da734d825551258 |
| …7243 | https://github.com/python/cpython/pull/157243 |
| f5dd52d | https://github.com/vstinner/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Oct 12, 2026 | https://github.com/python/cpython/pull/157243#issuecomment-6132378597 |
| GH-159260 | https://github.com/python/cpython/pull/159260 |
| 3.15 branch | https://github.com/python/cpython/tree/3.15 |
| Please reload this page | https://github.com/python/cpython/pull/157243 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-33080028823 |
| vstinner | https://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-157242 | https://github.com/python/cpython/issues/157242 |
| : Fix PyBytesWriter_Resize() on MemoryError ( | https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a |
| #157243 | https://github.com/python/cpython/pull/157243 |
| ) ( | https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a |
| … | https://github.com/python/cpython/pull/159260 |
| 73e6301 | https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a |
| …#159260 | https://github.com/python/cpython/pull/159260 |
| gh-157242 | https://github.com/python/cpython/issues/157242 |
| #157243 | https://github.com/python/cpython/pull/157243 |
| f5dd52d | https://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| vstinner | https://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-157242 | https://github.com/python/cpython/issues/157242 |
| : Do not close io.BytesIO on MemoryError ( | https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb |
| #159529 | https://github.com/python/cpython/pull/159529 |
| ) | https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb |
| 2e9acb4 | https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb |
| gh-157242 | https://github.com/python/cpython/issues/157242 |
| #157243 | https://github.com/python/cpython/pull/157243 |
| f5dd52d | https://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f |
| gh-157242 | https://github.com/python/cpython/issues/157242 |
| #157352 | https://github.com/python/cpython/pull/157352 |
| 63d4398 | https://github.com/python/cpython/commit/63d4398be879e346ef68f899115f86cdb9fa555c |
| gh-157242 | https://github.com/python/cpython/issues/157242 |
| #157344 | https://github.com/python/cpython/pull/157344 |
| 23eda00 | https://github.com/python/cpython/commit/23eda007f8d543495ba4935df75d243d76f9ef7f |
| https://github.com/StanFromIreland |
| StanFromIreland | https://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, 2026 | https://github.com/python/cpython/pull/157243#event-34626418071 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://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 page | https://github.com/python/cpython/pull/157243 |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
| Please reload this page | https://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 |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |