[Python-3000] Unicode and OS strings (original) (raw)
Nicholas Bastin nick.bastin at gmail.com
Sun Sep 16 04:00:25 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 ]
On 9/15/07, Paul Moore <p.f.moore at gmail.com> 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...
Then lets stop beating around the bush and implement an immutable bytes type. Why put ourselves through contortions trying to jam a square peg into a round hole and not just decide to make a round peg?
-- Nick
- Previous message: [Python-3000] Unicode and OS strings
- Next message: [Python-3000] Unicode and OS strings
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]