Re: [Python-Dev] suggestion for try/except program flow
27 Mar
2009
27 Mar
'09
3:19 p.m.
Mark Donald wrote:
Thanks for the idea, but I believe it has a different outcome. You'd have to copy the generic handler into an except clause to get exactly the behaviour I'm looking for, which is worse than nesting the try blocks
Then simply change Exception to BaseException. Since all exceptions should derive from BaseException, there should be no difference between that and a bare "except:" clause.
5508
Age (days ago)
5508
Last active (days ago)
0 comments
1 participants
participants (1)
-
Hrvoje Niksic