bare excepts

Aaron Bentley aaron.bentley at utoronto.ca
Tue Jan 3 06:28:28 GMT 2006


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

Robert Collins wrote:
| I'd be happy to extend my code-practices tests to check for:
| except:
| except Exception[ ,].*
| What do you think? (They are persistent little buggers, keep coming
| back.)

I think we'd need a way to flag some of the second type as legit.  And
there's a risk of improper flagging, then.  But on the whole, sure.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDuhmL0F+nu1YWqI0RAizRAJ9saMnM9vF3KmJ2+djLMbWst2RXrQCfQuHC
tsTcjWdLkpy0A0OORRo2EuI=
=eYHm
-----END PGP SIGNATURE-----




More information about the bazaar mailing list