[3.13] gh-143602: Fix duplicate buffer exports in io.BytesIO.write (#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 exported twice, which could lead to unexpected data overwrites and position drift when the buffer changes between exports. (cherry picked from commit c461aa99e2fabbaf5859c0a8a93e08306ee8115d) (cherry picked from commit 1241432150f6342e3d38c5a80a19c8c157a4ebe8) Co-authored-by: zhong <60600792+superboy-zjc@users.noreply.github.com>
V
Victor Stinner committed
201e8193553a79529ee508c8f457b21bd6da665f
Parent: d7f11ea
Committed by GitHub <noreply@github.com>
on 1/16/2026, 1:23:03 PM