Bare Excepts

Steve Holden steve at holdenweb.com
Wed Dec 30 11:23:37 EST 2009


Victor Subervi wrote:
> On Wed, Dec 30, 2009 at 9:23 AM, Jean-Michel Pichavant
[...]
>     In your example you must lookt at your sql module documentation to
>     know which kind of exception it can throw.
> 
> 
> Or just throw the exception once and grab it. Okay, thanks ;)
> beno
> 
Now *that* is using your brain. Good thinking!

regards
 Steve
-- 
Steve Holden           +1 571 484 6266   +1 800 494 3119
PyCon is coming! Atlanta, Feb 2010  http://us.pycon.org/
Holden Web LLC                 http://www.holdenweb.com/
UPCOMING EVENTS:        http://holdenweb.eventbrite.com/




More information about the Python-list mailing list