[Python-3000] Need help with menial tasks

Guido van Rossum guido at python.org
Thu Nov 22 01:09:08 CET 2007


On Nov 21, 2007 3:48 PM, Lisandro Dalcin <dalcinl at gmail.com> wrote:
> On 11/21/07, Guido van Rossum <guido at python.org> wrote:
> > I just changed PEP 3137 to rename the mutable bytes type 'bytearray'
> > instead of 'buffer', and implemented this change in the py3k branch.
>
> Have you ever consider using 'bytes' for the mutable and 'frozenbytes'
> for the inmutable?

Not until you brought it up just now, but I already don't like it.
Unlike set/frozenset, for bytes, the common use case is the immutable
type, so that should have the shorter name.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list