Fixed a small bug introduced by r62778.
One of the codepaths of _BytesIO.read() returned a bytearray object, by mistake, when it should always return a bytes object. Interestingly, the fact this bug shown up probably means that some platforms are not using the new C-accelerated io.BytesIO.
A
Alexandre Vassalotti committed
4833b3c37fc0d33f8f3f37a9b7526150a7c64b8c
Parent: 8dc226f