[Python-3000] bytes and dicts (was: PEP 3137: Immutable Bytesand Mutable Buffer)

Guido van Rossum guido at python.org
Mon Oct 1 01:14:07 CEST 2007


I see no other solution to this thread than to revert the decision
that comparing bytes and str raises TypeError. It may catch a trivial
mistake or two, but the far from trivial, subtle issues it causes for
more sophisticated code just aren't worth it. I'll add this to PEP
3137.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list