> Personally, I still think that converting to the latin-1 encoding is > probably just as good for this particular use case. So perhaps I don't > understand the use case(s?) correctly.
No, it rather means that this solution didn't occur to me. It's a bit expensive, since every access (getitem or setitem) will cause a recoding, if the parameters are required to be bytes - but so would any other solution that you can accept (i.e. use str8, use a separate frozenbytes) - they all require that you copy the key parameter in setitem/getitem. So this sounds better than using str8. Regards, Martin _______________________________________________ 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
