gh-60107: Remove a copy from RawIOBase.read (#141532)
If the underlying I/O class keeps a reference to the memory, raise BufferError. Co-authored-by: Victor Stinner <vstinner@python.org>
C
Cody Maloney committed
e90061f5f13ff8ad43cfed0ca724bef42609fe20
Parent: 722f4bb
Committed by GitHub <noreply@github.com>
on 11/20/2025, 5:37:04 PM