[Python-3000-checkins] r62802 - in python/branches/py3k/Lib: io.py test/test_memoryio.py

Christian Heimes lists at cheimes.de
Wed May 7 01:56:13 CEST 2008


alexandre.vassalotti schrieb:
> Author: alexandre.vassalotti
> Date: Wed May  7 01:47:23 2008
> New Revision: 62802
> 
> Log:
> 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.

Indeed! Windows doesn't compile and use the new stuff. I'm going to fix
it for you.

Christian


More information about the Python-3000-checkins mailing list