| 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:8f4d69cf-1263-df71-d057-5d1808c26cbe |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DACA:1B7499:1D55:23EA:6969FB24 |
| html-safe-nonce | d15a9da6b1917e6d66de37788eea8060721b847e8f1f0b8ed16722be28c26f90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUNBOjFCNzQ5OToxRDU1OjIzRUE6Njk2OUZCMjQiLCJ2aXNpdG9yX2lkIjoiMjg0MzExNDU0MDM1MTc0ODkwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cf190a27e6b097d181d0974a793aa92763eef53cbe6c7fb22437749943d67f2f |
| hovercard-subject-tag | pull_request:3144058978 |
| 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/143408/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/3a6058d68c8264a1f3c7d1447da020951408b5ca58f0f689ee00f2b3602baf4c/python/cpython/pull/143408 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a6058d68c8264a1f3c7d1447da020951408b5ca58f0f689ee00f2b3602baf4c/python/cpython/pull/143408 |
| og:image:alt | PyObject_GetBuffer() can execute user code (e.g. via buffer), which may close or otherwise mutate a BytesIO object while write() or writelines() is in progress. This could invalidate the internal b... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | superboy-zjc |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| 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 | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/143408#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143408 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| 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 |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | 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/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F143408 |
|
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/143408 |
| Reload | https://github.com/python/cpython/pull/143408 |
| Reload | https://github.com/python/cpython/pull/143408 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| Jump to bottom | https://github.com/python/cpython/pull/143408#issue-comment-box |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| superboy-zjc:issue-143378 | https://github.com/superboy-zjc/cpython/tree/issue-143378 |
|
gh-143378: Fix UAF when BytesIO is concurrently mutated during write operations
| https://github.com/python/cpython/pull/143408#top |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| superboy-zjc:issue-143378 | https://github.com/superboy-zjc/cpython/tree/issue-143378 |
|
Conversation
38
| https://github.com/python/cpython/pull/143408 |
|
Commits
13
| https://github.com/python/cpython/pull/143408/commits |
|
Checks
52
| https://github.com/python/cpython/pull/143408/checks |
|
Files changed
4
| https://github.com/python/cpython/pull/143408/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/superboy-zjc |
| superboy-zjc | https://github.com/superboy-zjc |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#issue-3778753265 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Use-after-free in _io.BytesIO.writelines via re-entrant __buffer__ close #143378 | https://github.com/python/cpython/issues/143378 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix use-after-free BytesIO write via re-entrant buff… | https://github.com/python/cpython/pull/143408/commits/240931999cd24ef56e087b77d127c697e4d81120 |
| 2409319 | https://github.com/python/cpython/pull/143408/commits/240931999cd24ef56e087b77d127c697e4d81120 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#event-21839320289 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jan 4, 2026
| https://github.com/python/cpython/pull/143408#ref-issue-3777651984 |
|
Use-after-free in _io.BytesIO.writelines via re-entrant __buffer__ close
#143378
| https://github.com/python/cpython/issues/143378 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix Sphinx references in NEWS entry | https://github.com/python/cpython/pull/143408/commits/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1 |
| 2c3035c | https://github.com/python/cpython/pull/143408/commits/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Jan 4, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625108915 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1 |
| picnixz | https://github.com/picnixz |
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625108915 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Misc/NEWS.d/next/Library/2026-01-03-19-41-36.gh-issue-143378.29AvE7.rst | https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1#diff-f81e02293f5884280028847f4ae18c390e8d2c39effeba1d70cc8396bcff2ff5 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#event-21842521215 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3708289242 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#event-21842521244 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#event-21842524572 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Jan 4, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625111510 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1 |
| Modules/_io/bytesio.c | https://github.com/python/cpython/pull/143408/files/2c3035cd564ba0e95e6aa91fe22f99278a9ff0e1#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/superboy-zjc |
| superboy-zjc | https://github.com/superboy-zjc |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3708331026 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| superboy-zjc | https://github.com/superboy-zjc |
| January 4, 2026 11:00 | https://github.com/python/cpython/pull/143408#commits-pushed-1a667a4 |
|
| https://github.com/superboy-zjc |
|
| https://github.com/picnixz |
| Update Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/commits/1a667a42dc911b10d0c5dfa30b28511338d85107 |
| 1a667a4 | https://github.com/python/cpython/pull/143408/commits/1a667a42dc911b10d0c5dfa30b28511338d85107 |
|
| https://github.com/superboy-zjc |
|
| https://github.com/picnixz |
| Update Modules/_io/bytesio.c | https://github.com/python/cpython/pull/143408/commits/35f98563265618ab5dfe3ce9e0e99374bb6ac22f |
| 35f9856 | https://github.com/python/cpython/pull/143408/commits/35f98563265618ab5dfe3ce9e0e99374bb6ac22f |
|
| https://github.com/superboy-zjc |
|
| https://github.com/picnixz |
| Update Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/commits/5997e9007a3eef30c772d2dcf13a09a4073d6249 |
| 5997e90 | https://github.com/python/cpython/pull/143408/commits/5997e9007a3eef30c772d2dcf13a09a4073d6249 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : reduce duplication in unit tests per review | https://github.com/python/cpython/pull/143408/commits/27c99dabc535b0585e7946401ba5c09314b1c642 |
| 27c99da | https://github.com/python/cpython/pull/143408/commits/27c99dabc535b0585e7946401ba5c09314b1c642 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : address review comments in NEWS entry | https://github.com/python/cpython/pull/143408/commits/586fbdc1c773d78a23f4897e3cec7d90ce11ed50 |
| 586fbdc | https://github.com/python/cpython/pull/143408/commits/586fbdc1c773d78a23f4897e3cec7d90ce11ed50 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : clean up unit tests | https://github.com/python/cpython/pull/143408/commits/89b2cb76c700e1ceb2871e450456aa995a82a339 |
| 89b2cb7 | https://github.com/python/cpython/pull/143408/commits/89b2cb76c700e1ceb2871e450456aa995a82a339 |
| https://github.com/superboy-zjc |
| superboy-zjc | https://github.com/superboy-zjc |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3708356709 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
|
awaiting changes
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20changes%22 |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#event-21842910616 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3708356763 |
| @picnixz | https://github.com/picnixz |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| picnixz | https://github.com/picnixz |
| January 4, 2026 19:27 | https://github.com/python/cpython/pull/143408#event-21842910889 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| Jan 4, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3708357859 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| @cmaloney | https://github.com/cmaloney |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 4, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625174098 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/89b2cb76c700e1ceb2871e450456aa995a82a339 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625174098 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 4, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625179443 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/89b2cb76c700e1ceb2871e450456aa995a82a339 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| https://github.com/python/cpython/pull/143408#pullrequestreview-3625179443 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : refactor the buffer check and unit tests for C and P… | https://github.com/python/cpython/pull/143408/commits/7805fa1411f27a1d7915130bcf83eb1fb3b35b62 |
| 7805fa1 | https://github.com/python/cpython/pull/143408/commits/7805fa1411f27a1d7915130bcf83eb1fb3b35b62 |
| https://github.com/superboy-zjc |
| superboy-zjc | https://github.com/superboy-zjc |
| Jan 5, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3708570861 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 5, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3626339647 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/7805fa1411f27a1d7915130bcf83eb1fb3b35b62 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| https://github.com/python/cpython/pull/143408#pullrequestreview-3626339647 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Lib/_pyio.py | https://github.com/python/cpython/pull/143408/files/7805fa1411f27a1d7915130bcf83eb1fb3b35b62#diff-bcdfa9cbb0764d7959cda48f9084d79785f87c5ad7460f27ba2678b0bda76e38 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/files/7805fa1411f27a1d7915130bcf83eb1fb3b35b62#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting change review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20change%20review%22 |
| Jan 5, 2026 | https://github.com/python/cpython/pull/143408#event-21851501376 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Jan 5, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3626398104 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/7805fa1411f27a1d7915130bcf83eb1fb3b35b62 |
| Lib/test/test_io/test_memoryio.py | https://github.com/python/cpython/pull/143408/files/7805fa1411f27a1d7915130bcf83eb1fb3b35b62#diff-437d27266beabfc02bcd01a41b6d3f9f82c4242087c0be99caad811a6b296776 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
| stale review | https://github.com/python/cpython/pull/143408#pullrequestreview-3625108915 |
| January 5, 2026 19:16 | https://github.com/python/cpython/pull/143408#event-21861183604 |
| superboy-zjc | https://github.com/superboy-zjc |
| January 5, 2026 21:22 | https://github.com/python/cpython/pull/143408#commits-pushed-6ac90be |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : clean up test comments | https://github.com/python/cpython/pull/143408/commits/6ac90be01f9ce9e8bcac4485f686ef71c32770a6 |
| 6ac90be | https://github.com/python/cpython/pull/143408/commits/6ac90be01f9ce9e8bcac4485f686ef71c32770a6 |
|
| https://github.com/superboy-zjc |
| Merge branch 'main' into issue-143378 | https://github.com/python/cpython/pull/143408/commits/9956cef2ac6297a03b6bbdbe016bb5166bb6142a |
| 9956cef | https://github.com/python/cpython/pull/143408/commits/9956cef2ac6297a03b6bbdbe016bb5166bb6142a |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jan 6, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3630447790 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/9956cef2ac6297a03b6bbdbe016bb5166bb6142a |
| Modules/_io/bytesio.c | https://github.com/python/cpython/pull/143408/files/9956cef2ac6297a03b6bbdbe016bb5166bb6142a#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : clean up duplicated shape check | https://github.com/python/cpython/pull/143408/commits/2155e48e2eb346be72b1b94960f7be3a6530c8fa |
| 2155e48 | https://github.com/python/cpython/pull/143408/commits/2155e48e2eb346be72b1b94960f7be3a6530c8fa |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jan 8, 2026
| https://github.com/python/cpython/pull/143408#pullrequestreview-3638375969 |
|
View reviewed changes
| https://github.com/python/cpython/pull/143408/files/2155e48e2eb346be72b1b94960f7be3a6530c8fa |
| kumaraditya303 | https://github.com/kumaraditya303 |
| https://github.com/python/cpython/pull/143408#pullrequestreview-3638375969 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
| https://github.com/superboy-zjc |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : clean up duplicated shape check in Python implementa… | https://github.com/python/cpython/pull/143408/commits/4f0b8b619001e7248f0f391195474a1eb7a1b797 |
| 4f0b8b6 | https://github.com/python/cpython/pull/143408/commits/4f0b8b619001e7248f0f391195474a1eb7a1b797 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| 6d54b6a | https://github.com/python/cpython/commit/6d54b6ac7d5744e1f59d784c8e020d632d2959a3 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#event-21945723566 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#event-21945724487 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#event-21945745833 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3728599022 |
| @superboy-zjc | https://github.com/superboy-zjc |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3728599030 |
| @superboy-zjc | https://github.com/superboy-zjc |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3728599146 |
| @superboy-zjc | https://github.com/superboy-zjc |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| cherry_picker | https://pypi.org/project/cherry-picker/ |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#event-21945747904 |
| miss-islington | https://github.com/miss-islington |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143408#ref-commit-f4c7ace |
|
| https://github.com/superboy-zjc |
|
| https://github.com/miss-islington |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix use-after-free when BytesIO is concurrently muta… | https://github.com/miss-islington/cpython/commit/f4c7acebcf657fc08ed0a3b71bd42df04bf4f20f |
| f4c7ace | https://github.com/miss-islington/cpython/commit/f4c7acebcf657fc08ed0a3b71bd42df04bf4f20f |
| pythonGH-143408 | https://github.com/python/cpython/pull/143408 |
| 6d54b6a | https://github.com/miss-islington/cpython/commit/6d54b6ac7d5744e1f59d784c8e020d632d2959a3 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3728599919 |
| GH-143599 | https://github.com/python/cpython/pull/143599 |
| 3.14 branch | https://github.com/python/cpython/tree/3.14 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.14
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.14%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#event-21945751621 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143408#ref-commit-d2e381b |
|
| https://github.com/superboy-zjc |
|
| https://github.com/serhiy-storchaka |
| [3.13] | https://github.com/serhiy-storchaka/cpython/commit/d2e381b090ba925be20564392e6fe174aedd3199 |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix use-after-free when BytesIO is concurrent… | https://github.com/serhiy-storchaka/cpython/commit/d2e381b090ba925be20564392e6fe174aedd3199 |
| d2e381b | https://github.com/serhiy-storchaka/cpython/commit/d2e381b090ba925be20564392e6fe174aedd3199 |
| pythonGH-143408 | https://github.com/python/cpython/pull/143408 |
| 6d54b6a | https://github.com/serhiy-storchaka/cpython/commit/6d54b6ac7d5744e1f59d784c8e020d632d2959a3 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#issuecomment-3728622464 |
| GH-143600 | https://github.com/python/cpython/pull/143600 |
| 3.13 branch | https://github.com/python/cpython/tree/3.13 |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
needs backport to 3.13
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.13%22 |
| Jan 9, 2026 | https://github.com/python/cpython/pull/143408#event-21945875177 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143408#ref-issue-3796720199 |
|
Incorrect behavior of BytesIO.write() when the size of the written data changed during writing
#143602
| https://github.com/python/cpython/issues/143602 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 9, 2026
| https://github.com/python/cpython/pull/143408#ref-commit-f264f10 |
|
| https://github.com/miss-islington |
|
| https://github.com/superboy-zjc |
| [3.14] | https://github.com/python/cpython/commit/f264f103d457000fd147086bc96e0a8eed3975fa |
| gh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix use-after-free when BytesIO is concurrently mut… | https://github.com/python/cpython/commit/f264f103d457000fd147086bc96e0a8eed3975fa |
| f264f10 | https://github.com/python/cpython/commit/f264f103d457000fd147086bc96e0a8eed3975fa |
| GH-143408 | https://github.com/python/cpython/pull/143408 |
| GH-143599 | https://github.com/python/cpython/pull/143599 |
| 6d54b6a | https://github.com/python/cpython/commit/6d54b6ac7d5744e1f59d784c8e020d632d2959a3 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Jan 12, 2026
| https://github.com/python/cpython/pull/143408#ref-commit-dcc6117 |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/superboy-zjc |
| [3.13] | https://github.com/python/cpython/commit/dcc6117628da72f41d877418a8ae8f1723546043 |
| gh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix use-after-free when BytesIO is concurrently mut… | https://github.com/python/cpython/commit/dcc6117628da72f41d877418a8ae8f1723546043 |
| dcc6117 | https://github.com/python/cpython/commit/dcc6117628da72f41d877418a8ae8f1723546043 |
| GH-143408 | https://github.com/python/cpython/pull/143408 |
| GH-143600 | https://github.com/python/cpython/pull/143600 |
| 6d54b6a | https://github.com/python/cpython/commit/6d54b6ac7d5744e1f59d784c8e020d632d2959a3 |
| reidenong | https://github.com/reidenong |
|
Jan 12, 2026
| https://github.com/python/cpython/pull/143408#ref-commit-9689c2e |
|
| https://github.com/superboy-zjc |
|
| https://github.com/reidenong |
| pythongh-143378 | https://github.com/python/cpython/issues/143378 |
| : Fix use-after-free when BytesIO is concurrently muta… | https://github.com/reidenong/cpython/commit/9689c2eea9d5362322afa2d8748ac187fcd841e0 |
| 9689c2e | https://github.com/reidenong/cpython/commit/9689c2eea9d5362322afa2d8748ac187fcd841e0 |
| pythonGH-143408 | https://github.com/python/cpython/pull/143408 |
| 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%2F143408 |
|
| https://github.com/vstinner |
|
vstinner
| https://github.com/vstinner |
|
| https://github.com/python/cpython/pull/143408/files/2155e48e2eb346be72b1b94960f7be3a6530c8fa |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
| https://github.com/python/cpython/pull/143408/files/4f0b8b619001e7248f0f391195474a1eb7a1b797 |
|
| https://github.com/picnixz |
|
picnixz
| https://github.com/picnixz |
|
| https://github.com/python/cpython/pull/143408/files/7805fa1411f27a1d7915130bcf83eb1fb3b35b62 |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
|
| https://github.com/python/cpython/pull/143408/files/2155e48e2eb346be72b1b94960f7be3a6530c8fa |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/143408 |
|
| https://github.com/superboy-zjc |
|
| https://github.com/picnixz |
|
| https://github.com/vstinner |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/kumaraditya303 |
|
| 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 |