A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047934.html below:

[Python-Dev] Re: adding a bytes sequence type to Python

[Python-Dev] Re: adding a bytes sequence type to Python [Python-Dev] Re: adding a bytes sequence type to PythonMichael Hudson mwh at python.net
Tue Aug 17 16:57:15 CEST 2004
Skip Montanaro <skip at pobox.com> writes:

>     Michael> Is this getting to (hopefully uncontroverisal!) PEP time?
>
> One would hope.  I sent in a skeletal PEP last week asking for a number but
> haven't heard back.

Goody.

>     Michael> Is there any consensus forming on whether bytes() instances are
>     Michael> mutable or not?
>
> ISTR Guido thought mutable was the way to go.

OK.

> I don't think that efficiency concerns will be a huge deal since it
> won't be used all over the place the way strings are.

Who cares? :-)

> Will they need to be used as dict keys?  Doesn't seem likely to me.

This is indeed the question.  I agree it's unlikely, and you can
presumably do something like convert a bytes() instance into a tuple
of small integers if you really want to key into a dict.

Cheers,
mwh

-- 
  Clue: You've got the appropriate amount of hostility for the
  Monastery, however you are metaphorically getting out of the
  safari jeep and kicking the lions.                         -- coonec
               -- http://home.xnet.com/~raven/Sysadmin/ASR.Quotes.html
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4