[Python-3000] Unicode and OS strings (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Mon Sep 17 01:03:54 CEST 2007
- Previous message: [Python-3000] Unicode and OS strings
- Next message: [Python-3000] Unicode and OS strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-3000] Unicode and OS strings
- Next message: [Python-3000] Unicode and OS strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]