René's URL Explorer Experiment


Title: bytearray.resize() must not clear the object on error (memory allocation failure) · Issue #157242 · python/cpython · GitHub

Open Graph Title: bytearray.resize() must not clear the object on error (memory allocation failure) · Issue #157242 · python/cpython

X Title: bytearray.resize() must not clear the object on error (memory allocation failure) · Issue #157242 · python/cpython

Description: Python 3.15 reimplemented bytearray using an internal bytes object (to implement the bytearray.take_bytes() method). _PyBytes_Resize() is used internally to resize the bytearray object. Problem: if _PyBytes_Resize() fails, the bytearray ...

Open Graph Description: Python 3.15 reimplemented bytearray using an internal bytes object (to implement the bytearray.take_bytes() method). _PyBytes_Resize() is used internally to resize the bytearray object. Problem: if...

X Description: Python 3.15 reimplemented bytearray using an internal bytes object (to implement the bytearray.take_bytes() method). _PyBytes_Resize() is used internally to resize the bytearray object. Problem: if...

Opengraph URL: https://github.com/python/cpython/issues/157242

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bytearray.resize() must not clear the object on error (memory allocation failure)","articleBody":"Python 3.15 reimplemented bytearray using an internal bytes object (to implement the `bytearray.take_bytes()` method). `_PyBytes_Resize()` is used internally to resize the bytearray object. Problem: if `_PyBytes_Resize()` fails, the bytearray object is cleared.\n\nOn Python 3.14, the bytearray is not cleared on resize failure.\n\nThe following example works on Python 3.14 but fails on Python 3.15.\n\n```py\nimport _testcapi\n\ndata = b'some data'\nba = bytearray(data)\ntry:\n    try:\n        _testcapi.set_nomemory(0)\n        ba.resize(1024)\n    except MemoryError:\n        pass\n    else:\n        raise AssertionError(\"expect MemoryError\")\nfinally:\n    _testcapi.remove_mem_hooks()\nif ba != data:\n    raise AssertionError(f\"{ba} != {data}\")\n```\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-157243\n* gh-157340\n* gh-157344\n* gh-157350\n* gh-157351\n* gh-157352\n* gh-157371\n* gh-157375\n* gh-157431\n* gh-157619\n* gh-157723\n* gh-157811\n* gh-159260\n* gh-159274\n* gh-159275\n* gh-159292\n* gh-159528\n* gh-159529\n* gh-159543\n* gh-159546\n* gh-159553\n* gh-159582\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-09-10T00:19:54Z","url":"https://github.com/python/cpython/issues/157242"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:aa7dd52a-8cd9-4b01-cc09-aa7aaece7636
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA10E:1DC4CC:123FD1B:185015B:6B01EE07
html-safe-nonce3efeb6f482c14f7467e4a60deaa86a0b3764d8979e34512cca05516800695f93
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTBFOjFEQzRDQzoxMjNGRDFCOjE4NTAxNUI6NkIwMUVFMDciLCJ2aXNpdG9yX2lkIjoiMTc4MzUxMzc4MDIzNjQ0NzIzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac741579bc3029ef98bb2a28c0dee467c1abe6d02fdc234c0b4a55477ab23054a3
hovercard-subject-tagissue:5406148843
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/157242/issue_layout
twitter:imagehttps://opengraph.githubassets.com/835dbe4c5cba80977de43139aec82fd47811fbf99cfe76742b96433424e1100e/python/cpython/issues/157242
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/835dbe4c5cba80977de43139aec82fd47811fbf99cfe76742b96433424e1100e/python/cpython/issues/157242
og:image:altPython 3.15 reimplemented bytearray using an internal bytes object (to implement the bytearray.take_bytes() method). _PyBytes_Resize() is used internally to resize the bytearray object. Problem: if...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/157242#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F157242
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%2Fissues%2F157242
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/157242
Reloadhttps://github.com/python/cpython/issues/157242
Reloadhttps://github.com/python/cpython/issues/157242
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/157242
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/157242
bytearray.resize() must not clear the object on error (memory allocation failure)https://github.com/python/cpython/issues/157242#top
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Sep 10, 2026https://github.com/python/cpython/issues/157242#issue-5406148843
gh-157242: Fix PyBytesWriter_Resize() on MemoryError #157243https://github.com/python/cpython/pull/157243
gh-157242: Leave bytearray unchanged if resize() fails #157340https://github.com/python/cpython/pull/157340
gh-157242: Do not close io.BytesIO on MemoryError #157344https://github.com/python/cpython/pull/157344
gh-157242: Fix test_capi on Py_TRACE_REFS build #157350https://github.com/python/cpython/pull/157350
gh-157242: Fix set_nomemory() on Py_TRACE_REFS build #157351https://github.com/python/cpython/pull/157351
gh-157242: Add more PyBytesWriter tests #157352https://github.com/python/cpython/pull/157352
gh-157242: Add _PyBytes_IsMutable() assertion #157371https://github.com/python/cpython/pull/157371
gh-157242: Allow negative grow in PyBytesWriter_Grow() #157375https://github.com/python/cpython/pull/157375
gh-157242: Add support.inject_memory_error() function #157431https://github.com/python/cpython/pull/157431
gh-157242: Fix typo in _PyBytes_Resize() #157619https://github.com/python/cpython/pull/157619
gh-157242: Add byteswriter_check_consistency() #157723https://github.com/python/cpython/pull/157723
gh-157242: Use support.inject_memory_error_cm() in tests #157811https://github.com/python/cpython/pull/157811
[3.15] gh-157242: Fix PyBytesWriter_Resize() on MemoryError (#157243) #159260https://github.com/python/cpython/pull/159260
[3.15] gh-157242: Leave bytearray unchanged if resize() fails (#157340) #159274https://github.com/python/cpython/pull/159274
[3.15] gh-157242: Do not close io.BytesIO on MemoryError (GH-157344) #159275https://github.com/python/cpython/pull/159275
[3.15] gh-157242: Fix set_nomemory() on Py_TRACE_REFS build (#157351) #159292https://github.com/python/cpython/pull/159292
[3.14] gh-157242: Fix set_nomemory() on Py_TRACE_REFS build (#157351) #159528https://github.com/python/cpython/pull/159528
[3.14] gh-157242: Do not close io.BytesIO on MemoryError #159529https://github.com/python/cpython/pull/159529
gh-157242: Use support.inject_memory_error_cm() in test_dict #159543https://github.com/python/cpython/pull/159543
[3.15] gh-157242: Add more PyBytesWriter tests #159546https://github.com/python/cpython/pull/159546
[3.15] gh-157242: Add support.inject_memory_error() function #159553https://github.com/python/cpython/pull/159553
[3.14] gh-157242: Add support.inject_memory_error() function #159582https://github.com/python/cpython/pull/159582
Nexthttps://github.com/python/cpython/issues/157242?timeline_page=1
vstinnerhttps://github.com/vstinner
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
on Sep 10, 2026https://github.com/python/cpython/issues/157242#event-30866957963
vstinnerhttps://github.com/vstinner
on Sep 10, 2026https://github.com/python/cpython/issues/157242#event-30867687292
pythongh-157242: Leave bytearray unchanged if resize() failshttps://github.com/vstinner/cpython/commit/d0441c49597936730fc9ba6c69bba5e6814399a8
pythongh-157242https://github.com/python/cpython/issues/157242
d0441c4https://github.com/vstinner/cpython/commit/d0441c49597936730fc9ba6c69bba5e6814399a8
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Sep 10, 2026https://github.com/python/cpython/issues/157242#issuecomment-5610945817
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
on Sep 10, 2026https://github.com/python/cpython/issues/157242#issuecomment-5610955559
aiskhttps://github.com/aisk
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
on Sep 10, 2026https://github.com/python/cpython/issues/157242#event-30873683305
vstinnerhttps://github.com/vstinner
on Sep 11, 2026https://github.com/python/cpython/issues/157242#event-31004257584
gh-157242: Fix PyBytesWriter_Resize() on MemoryError (#157243)https://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
gh-157242https://github.com/python/cpython/issues/157242
#157243https://github.com/python/cpython/pull/157243
f5dd52dhttps://github.com/python/cpython/commit/f5dd52df16e1b3f3f8cc2762f1de783a41d69f4f
pythongh-157242: Do not close io.BytesIO on MemoryErrorhttps://github.com/vstinner/cpython/commit/eeb06778f8e6568081540ca18937b26863628ec3
pythongh-157242https://github.com/python/cpython/issues/157242
eeb0677https://github.com/vstinner/cpython/commit/eeb06778f8e6568081540ca18937b26863628ec3
pythongh-157242: Do not close io.BytesIO on MemoryErrorhttps://github.com/vstinner/cpython/commit/00d23bb6355543e7a23bce27e06de5e318c0c024
pythongh-157242https://github.com/python/cpython/issues/157242
00d23bbhttps://github.com/vstinner/cpython/commit/00d23bb6355543e7a23bce27e06de5e318c0c024
gh-157242: Leave bytearray unchanged if resize() fails (#157340)https://github.com/python/cpython/commit/67e6be72be9c0b75a31795ed42f9afb5eb431d47
gh-157242https://github.com/python/cpython/issues/157242
#157340https://github.com/python/cpython/pull/157340
67e6be7https://github.com/python/cpython/commit/67e6be72be9c0b75a31795ed42f9afb5eb431d47
gh-157242: Fix set_nomemory() on Py_TRACE_REFS build (#157351)https://github.com/python/cpython/commit/051b168e63af80872222a2d91d43af4de16980b1
gh-157242https://github.com/python/cpython/issues/157242
#157351https://github.com/python/cpython/pull/157351
051b168https://github.com/python/cpython/commit/051b168e63af80872222a2d91d43af4de16980b1
gh-157242: Add more PyBytesWriter tests (#157352)https://github.com/python/cpython/commit/63d4398be879e346ef68f899115f86cdb9fa555c
gh-157242https://github.com/python/cpython/issues/157242
#157352https://github.com/python/cpython/pull/157352
63d4398https://github.com/python/cpython/commit/63d4398be879e346ef68f899115f86cdb9fa555c
clin1234https://github.com/clin1234
on Sep 12, 2026https://github.com/python/cpython/issues/157242#event-31023923790
pythongh-157242: Fix PyBytesWriter_Resize() on MemoryError (python#15…https://github.com/clin1234/cpython/commit/b73337dc7c2704ee50cfae3c2eccf528c4c17597
pythongh-157242https://github.com/python/cpython/issues/157242
python#15…https://github.com/python/cpython/pull/157243
b73337dhttps://github.com/clin1234/cpython/commit/b73337dc7c2704ee50cfae3c2eccf528c4c17597
pythongh-157242: Leave bytearray unchanged if resize() fails (python#…https://github.com/clin1234/cpython/commit/049f93ba47b27b42a92cc2468be8bce25244b3db
pythongh-157242https://github.com/python/cpython/issues/157242
python#…https://github.com/python/cpython/pull/157340
049f93bhttps://github.com/clin1234/cpython/commit/049f93ba47b27b42a92cc2468be8bce25244b3db
pythongh-157242: Fix set_nomemory() on Py_TRACE_REFS build (python#15…https://github.com/clin1234/cpython/commit/8333511d030b2536ab71314b0f452dd3d0b30026
pythongh-157242https://github.com/python/cpython/issues/157242
python#15…https://github.com/python/cpython/pull/157351
8333511https://github.com/clin1234/cpython/commit/8333511d030b2536ab71314b0f452dd3d0b30026
pythongh-157242: Add more PyBytesWriter tests (python#157352)https://github.com/clin1234/cpython/commit/adfb0987843440f563a9e99b0b9447e7f7fb941a
pythongh-157242https://github.com/python/cpython/issues/157242
python#157352https://github.com/python/cpython/pull/157352
adfb098https://github.com/clin1234/cpython/commit/adfb0987843440f563a9e99b0b9447e7f7fb941a
vstinnerhttps://github.com/vstinner
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Sep 21, 2026https://github.com/python/cpython/issues/157242#event-31534083717
vstinnerhttps://github.com/vstinner
on Oct 12, 2026https://github.com/python/cpython/issues/157242#event-33079984662
pythongh-157242: Fix PyBytesWriter_Resize() on MemoryError (python#15…https://github.com/vstinner/cpython/commit/2f471c9ffa8da0dbb42331608da734d825551258
pythongh-157242https://github.com/python/cpython/issues/157242
python#15…https://github.com/python/cpython/pull/157243
2f471c9https://github.com/vstinner/cpython/commit/2f471c9ffa8da0dbb42331608da734d825551258
[3.15] gh-157242: Fix PyBytesWriter_Resize() on MemoryError (#157243) (…https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a
gh-157242https://github.com/python/cpython/issues/157242
#157243https://github.com/python/cpython/pull/157243
…https://github.com/python/cpython/pull/159260
73e6301https://github.com/python/cpython/commit/73e63011a06ffd792ca94f8fd5117665fff0030a
pythongh-157242: Leave bytearray unchanged if resize() fails (python#…https://github.com/vstinner/cpython/commit/7782a1b26771c3b52680815581eec1c84ac3edb9
pythongh-157242https://github.com/python/cpython/issues/157242
python#…https://github.com/python/cpython/pull/157340
7782a1bhttps://github.com/vstinner/cpython/commit/7782a1b26771c3b52680815581eec1c84ac3edb9
[3.15] gh-157242: Do not close io.BytesIO on MemoryError (GH-157344) (#…https://github.com/python/cpython/commit/3ca92d959816d27c39041c0caa9c6fd53ad925fe
gh-157242https://github.com/python/cpython/issues/157242
GH-157344https://github.com/python/cpython/pull/157344
#…https://github.com/python/cpython/pull/159275
3ca92d9https://github.com/python/cpython/commit/3ca92d959816d27c39041c0caa9c6fd53ad925fe
[3.15] gh-157242: Leave bytearray unchanged if resize() fails (#157340)…https://github.com/python/cpython/commit/3dfe2148b40ea228d889b41231427801f76260b8
gh-157242https://github.com/python/cpython/issues/157242
#157340https://github.com/python/cpython/pull/157340
3dfe214https://github.com/python/cpython/commit/3dfe2148b40ea228d889b41231427801f76260b8
[3.15] gh-157242: Fix set_nomemory() on Py_TRACE_REFS build (#157351) (…https://github.com/python/cpython/commit/3ea0524fd01b6fa35488fc65d3b14524914c5b0c
gh-157242https://github.com/python/cpython/issues/157242
#157351https://github.com/python/cpython/pull/157351
…https://github.com/python/cpython/pull/159292
3ea0524https://github.com/python/cpython/commit/3ea0524fd01b6fa35488fc65d3b14524914c5b0c
pythongh-157242: Fix set_nomemory() on Py_TRACE_REFS build (python#15…https://github.com/vstinner/cpython/commit/640277e21d1968b2ec8c39a72bf88d1538a7ae7a
pythongh-157242https://github.com/python/cpython/issues/157242
python#15…https://github.com/python/cpython/pull/157351
640277ehttps://github.com/vstinner/cpython/commit/640277e21d1968b2ec8c39a72bf88d1538a7ae7a
[3.14] gh-157242: Do not close io.BytesIO on MemoryError (#159529)https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb
gh-157242https://github.com/python/cpython/issues/157242
#159529https://github.com/python/cpython/pull/159529
2e9acb4https://github.com/python/cpython/commit/2e9acb457015104ddc033d326c6f1e281ef56dcb
[3.14] gh-157242: Fix set_nomemory() on Py_TRACE_REFS build (#157351) (…https://github.com/python/cpython/commit/57a478fa0ac9e09a13562ab1b0f595dc2d481a8b
gh-157242https://github.com/python/cpython/issues/157242
#157351https://github.com/python/cpython/pull/157351
…https://github.com/python/cpython/pull/159528
57a478fhttps://github.com/python/cpython/commit/57a478fa0ac9e09a13562ab1b0f595dc2d481a8b
gh-157242: Use support.inject_memory_error_cm() in test_dict (#159543)https://github.com/python/cpython/commit/d3ada4509ea9f4d5c7a7a28566049c8891ee6d11
gh-157242https://github.com/python/cpython/issues/157242
#159543https://github.com/python/cpython/pull/159543
d3ada45https://github.com/python/cpython/commit/d3ada4509ea9f4d5c7a7a28566049c8891ee6d11
[3.15] gh-157242: Add more PyBytesWriter tests (#159546)https://github.com/python/cpython/commit/1ebc13bd729d3e2085a5e5b83f7a2b2603da2569
gh-157242https://github.com/python/cpython/issues/157242
#159546https://github.com/python/cpython/pull/159546
1ebc13bhttps://github.com/python/cpython/commit/1ebc13bd729d3e2085a5e5b83f7a2b2603da2569
[3.15] gh-157242: Add support.inject_memory_error() function (#159553)https://github.com/python/cpython/commit/c1508fb11b460829c0aef4511e6d0490c3ff2585
gh-157242https://github.com/python/cpython/issues/157242
#159553https://github.com/python/cpython/pull/159553
c1508fbhttps://github.com/python/cpython/commit/c1508fb11b460829c0aef4511e6d0490c3ff2585
[3.15] pythongh-157242: Add support.inject_memory_error() function (p…https://github.com/vstinner/cpython/commit/148e7140bc34127734ff77795c776bd139754cbb
pythongh-157242https://github.com/python/cpython/issues/157242
p…https://github.com/python/cpython/pull/159553
148e714https://github.com/vstinner/cpython/commit/148e7140bc34127734ff77795c776bd139754cbb
[3.14] gh-157242: Add support.inject_memory_error() function (#159582)https://github.com/python/cpython/commit/742798d177f1aefa76e907d15d9363915e85df33
gh-157242https://github.com/python/cpython/issues/157242
#159582https://github.com/python/cpython/pull/159582
742798dhttps://github.com/python/cpython/commit/742798d177f1aefa76e907d15d9363915e85df33
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/157242
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/157242
interpreter-core(Objects, Python, Grammar, and Parser dirs)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
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.