[MERGE] compare types with "is" not ==

John Arbash Meinel john at arbash-meinel.com
Sat Mar 7 21:56:07 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Peterson wrote:
> 2009/3/7 Benjamin Peterson <benjamin at python.org>:
>> __class__ should always be compared with "is"
>
> Attaching the patch should help.

I'm curious if this is really a big difference or not. But you certainly
already did the work, and if it is "better python" then I'm happy to
have it merged.

BB:approve

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmy7XcACgkQJdeBCYSNAAMPcgCaAox/eZ8V7eF4uDEVdyGULVkk
XwQAn2Mfjj/nqNQU2qRCjCxNF/PNf45X
=crxG
-----END PGP SIGNATURE-----




More information about the bazaar mailing list