[Python-3000] Unicode and OS strings

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 17 01:03:54 CEST 2007


Paul Moore wrote:
> On 15/09/2007, Gregory P. Smith <greg at krypto.org> wrote:
> 
>>similarly for the environment.  os.environ dict
>>should be bytes object keys and values
> 
> You can't have bytes as keys - the type isn't hashable...

Has there been any consensus reached yet on whether
there will be a frozenbytes type? I can see the
non-hashability of bytes leading to lots of
annoyances like this.

--
Greg


More information about the Python-3000 mailing list