On Sat, Sep 15, 2007, Paul Moore wrote: > On 15/09/2007, Gregory P. Smith <[EMAIL PROTECTED]> 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...
That's why people keep arguing for an immutable bytes types. I keep seeing long discussions that end up with a tortured mechanism for making the keys unicode. Why don't we just bite the bullet and make things easier and have the immutable bytes type? -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ The best way to get information on Usenet is not to ask a question, but to post the wrong information. _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
