Talin wrote: > Data Type AbstractSequence Immutable Mutable > ========= ================ ========= ======= > byte ByteSequence bytes buffer > character CharSequence str strbuf > > 'buffer' could be an array.array, although if it's used frequently > enough an optimized special-case 'buffer' class might be better.
I'd prefer to keep the term 'buffer' for an object that exposes the buffer interface of another object. I suggest calling it a 'bytearray' if you want a specialised type for it. -- Greg _______________________________________________ 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
