[Python-ideas] try-else without except or finally
Steven D'Aprano
steve at pearwood.info
Thu Nov 10 14:04:34 CET 2011
More information about the Python-ideas mailing list
Thu Nov 10 14:04:34 CET 2011
- Previous message: [Python-ideas] try-else without except or finally
- Next message: [Python-ideas] try-else without except or finally
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Matt Joiner wrote: > Hi Ideas, > > I frequently find myself in the following situations: > > 1) I wish to do something if no exception is thrown, for instance: [...] > I propose that the except clause be optional. I too have been in the situation of wanting an else clause and a finally clause, but no except clause. +1 on allowing else without an except. -- Steven
- Previous message: [Python-ideas] try-else without except or finally
- Next message: [Python-ideas] try-else without except or finally
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list