commit | 4833b3c37fc0d33f8f3f37a9b7526150a7c64b8c | [log] [tgz] |
---|---|---|
author | Alexandre Vassalotti <alexandre@peadrop.com> | Tue May 06 23:47:23 2008 +0000 |
committer | Alexandre Vassalotti <alexandre@peadrop.com> | Tue May 06 23:47:23 2008 +0000 |
tree | 9cd8c04da7cf8dcc311f919187181ed3139db5c2 | |
parent | 8dc226fccd2183670ac19a85b89941f5b05167dc [diff] |
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.