Martin v. Löwis wrote:
> Code that has been ported to the bytes type probably doesn't use it
> correctly yet, but to me, the need for a buffery thing where you
> can allocate some buffer, and then fill it byte-for-byte is quite
> obvious.

We actually already *have* something like that,
i.e. array.array('B').

So I don't think it's a priori a silly idea to
consider making the bytes type immutable only,
and using the array type for when you want a
mutable buffer.

--
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

Reply via email to