[Python-3000] proposal: comparing bytes and str raises TypeError
barry at python.org
Wed Aug 29 21:33:02 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
On Aug 29, 2007, at 1:31 PM, Jeremy Hylton wrote:
> I made a local change to my bytesobject.c to raise an exception
> whenever it is compared to a PyUnicode_Object.
+1. I hit several silent errors in the email package because of
this. A TypeError would have been very helpful!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-3000