SIGN IN SIGN UP

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.
Z
zhong committed
c461aa99e2fabbaf5859c0a8a93e08306ee8115d
Parent: 3514ba2
Committed by GitHub <noreply@github.com> on 1/15/2026, 3:08:55 PM