Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] gh-143602: Fix duplicate buffer exports in io.BytesIO.write (#143629)#143872

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:3.14fromvstinner:bytesio_write14
Jan 15, 2026

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedJan 15, 2026
edited by bedevere-appbot
Loading

Fix an inconsistency issue in io.BytesIO.write() where the buffer was exported twice, which could lead to unexpected data overwrites and position drift when the buffer changes between exports.

(cherry picked from commitc461aa9)

…thon#143629)Fix an inconsistency issue in io.BytesIO.write() where the buffer was exportedtwice, which could lead to unexpected data overwrites and position drift whenthe buffer changes between exports.(cherry picked from commitc461aa9)
@vstinnervstinner merged commit1241432 intopython:3.14Jan 15, 2026
92 of 94 checks passed
@vstinnervstinner deleted the bytesio_write14 branchJanuary 15, 2026 16:02
@miss-islington-app
Copy link

Thanks@vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@vstinner, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker 1241432150f6342e3d38c5a80a19c8c157a4ebe8 3.13

@bedevere-app

This comment was marked as outdated.

@vstinnervstinner removed the needs backport to 3.13bugs and security fixes labelJan 15, 2026
@bedevere-app
Copy link

GH-143878 is a backport of this pull request to the3.13 branch.

vstinner added a commit that referenced this pull requestJan 16, 2026
…143629) (#143872) (#143878)[3.14]gh-143602: Fix duplicate buffer exports in io.BytesIO.write (#143629) (#143872)gh-143602: Fix duplicate buffer exports in io.BytesIO.write (#143629)Fix an inconsistency issue in io.BytesIO.write() where the buffer was exportedtwice, which could lead to unexpected data overwrites and position drift whenthe buffer changes between exports.(cherry picked from commitc461aa9)(cherry picked from commit1241432)Co-authored-by: zhong <60600792+superboy-zjc@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@serhiy-storchakaserhiy-storchakaserhiy-storchaka approved these changes

Assignees

@vstinnervstinner

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@serhiy-storchaka@superboy-zjc

[8]ページ先頭

©2009-2026 Movatter.jp