[Python-ideas] suggestion for try/except program flow
Mark Donald
foobarmus at gmail.com
Sun Mar 29 07:06:29 CEST 2009
> Guido already said this, but yes, something did change in 3.0: unlike
> the 2.x series, the raise statement in 3.x only accepts instances of
> BaseException, so having both an "except BaseException:" clause and a
> bare "except:" clause becomes redundant.
Ah, apologies... I need to update myself.
'uncatch' to subsequently execute the else clause is still going to be
impossible, but I don't have a real-world need for that as yet.
Cheers
More information about the Python-ideas
mailing list