bare excepts

Robert Collins robertc at robertcollins.net
Tue Jan 3 08:34:35 GMT 2006


On Tue, 2006-01-03 at 01:28 -0500, Aaron Bentley wrote:
> -----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.

I'll put in a counter - which we can change as needed - to accomodate
the aggregate legit ones. That said, I *still* have never seen one.

Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060103/752929e9/attachment.pgp 


More information about the bazaar mailing list