Guido van Rossum wrote:
> I understand. But bytes are still in flux (see the repeated requests
> for immutable bytes)

Moreover, my feeling is that immutable byte should be
the *default*, and if you want mutable bytes you
should have to ask for it.

This would make bytes more symmetrical with strings,
where immutability is the default, and if you want
mutability you use an array.array('c') or whatever
the equivalent will be in py3k.

It would also help to settle the question of
whether b"xyz" should be mutable -- clearly not,
for symmetry with strings.

--
Greg
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
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