Paul Moore schrieb: > On 04/11/2007, Guido van Rossum <[EMAIL PROTECTED]> wrote: >> I'm beginning to settle on the following: >> >> 1. concrete types: bytes (immutable) and bytearray (mutable) > > bytearray seems a bit clumsy, but I can't think of anything better...
It's much better than "buffer". Also I don't think it will be used too often... >> 2. their common ABC: ByteString (derives from Sequence) > > Would ByteSequence not be better? ByteString stresses the relationship with str, with which the ByteString derivatives share their methods. >> 3. the ABC corresponding to buffer-API objects: MemoryBlock > > Sounds reasonable. Would it make sense to rename the buffer API as the > memory block API in that case? (PyBufferProcs --> PyMemoryBlockProcs, > or maybe PyMemBlockProcs to make for less typing, etc) It certainly would make sense, during the Great C Api Rename (tm). Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
