Release the GIL when reading from BytesIO objects. (#291)
* Add special case to release the GIL when reading from a BytesIO object. * Fix tests. * Disable flakey test on underpowered machines. * Decrease test flakiness. * Disable flaky test on CI. * Skip on CI properly. * Ensure that we can't read past the end of a BytesIO buffer. * Use one of virtual or override. * Apply suggestions from code review Co-authored-by: David Rubinstein <drubinstein@users.noreply.github.com> * Simplify read math for PythonMemoryViewInputStream. * Fix type annotations in docs. * Appease the linter. --------- Co-authored-by: David Rubinstein <drubinstein@users.noreply.github.com>
P
Peter Sobot committed
cd686d53d8797c455eed42fc7512f32d8a9970a2
Parent: b35f6e9
Committed by GitHub <noreply@github.com>
on 2/27/2024, 10:24:50 PM