A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-August/047933.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 PythonAnthony Baxter anthony at interlink.com.au
Tue Aug 17 16:49:54 CEST 2004
> ISTR Guido thought mutable was the way to go.  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.  Will they need to be used as dict keys?  Doesn't seem
> likely to me.

Mutable is far far more useful. I can't see them being used commonly
for dict keys, but I do know of a lot of protocols where you have
to go back and patch a 'length' field in a packet header after you've
finished the packet construction.

Maybe we could use the @ symbol for the byte literal? <wink>

Anthony

-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.
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