[Python-3000] need help fixing broken tests in py3k-pep3137 branch

Christian Heimes lists at cheimes.de
Sun Nov 4 20:02:52 CET 2007


Guido van Rossum wrote:
> I'm beginning to settle on the following:
> 
> 1. concrete types: bytes (immutable) and bytearray (mutable)
> 2. their common ABC: ByteString (derives from Sequence)

I prefer ByteSequence. Bytes and buffer are a sequence of bytes.

> 3. the ABC corresponding to buffer-API objects: MemoryBlock

What do you think about RawData, RawBlock, RawView or RawSequence? From
my point of view a PyBuffer allows me to access the raw data of a
PyString or PyBytes.

Christian


More information about the Python-3000 mailing list