• Alexandre Vassalotti's avatar
    Fixed a small bug introduced by r62778. · 4833b3c3
    Alexandre Vassalotti yazdı
    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.
    4833b3c3
test_memoryio.py 13.9 KB