Sets in Python

Chris Mellon arkanes at gmail.com
Thu Sep 20 13:12:30 EDT 2007


On 9/20/07, Dustan <DustanGroups at gmail.com> wrote:
> On Sep 19, 10:58 pm, Bryan Olson <fakeaddr... at nowhere.org> wrote:
> > Bad news: Python 3000 has no immutable type for byte-strings.
> > The new bytes type cannot serve for dict keys or set members.
> > Many things one would want to hash are unhashable -- for
> > example, the results of the hash functions in hashlib.
>
> Are you serious????
>

It's a little Chicken Little. The current version of py3k has no
immutable bytes type, but there's work being done even as we speak to
implement it.



More information about the Python-list mailing list