else: w/o except: - why not?

Jeremy Fincher tweedgeezer at hotmail.com
Tue Apr 1 15:01:04 EST 2003


claird at lairds.com (Cameron Laird) wrote in message news:<v8j9pb3v2cnra6 at corp.supernews.com>...
> And, for you, does
>   try:
>       f1()
>   except:
>       f2()
>       raise
> become *not* bad practice?

Wouldn't that be better written like thiS?

try:
  f1()
finally:
  f2()


Jeremy




More information about the Python-list mailing list