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