Re: Python and checked exceptions

2006-09-23 Thread Kay Schluehr
Peter Otten wrote: > Kay Schluehr wrote: > > > A new cookbook recipe suggesting two decorators @throws and @catches > > for treatment of checked exceptions in Python: > > > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/498131 > > > > This might be of practical interest for some and theo

Re: Python and checked exceptions

2006-09-23 Thread Diez B. Roggisch
>> This might be of practical interest for some and theoretical interest >> for others - in particular those who know checked ex as a language >> feature of Java. > > The trouble with having to declare every possible exception that a > function might throw is that it rapidly turns into a complete

Re: Python and checked exceptions

2006-09-23 Thread Lawrence D'Oliveiro
In message <[EMAIL PROTECTED]>, Kay Schluehr wrote: > A new cookbook recipe suggesting two decorators @throws and @catches > for treatment of checked exceptions in Python: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/498131 > > This might be of practical interest for some and theo

Re: Python and checked exceptions

2006-09-23 Thread Peter Otten
Kay Schluehr wrote: > A new cookbook recipe suggesting two decorators @throws and @catches > for treatment of checked exceptions in Python: > > http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/498131 > > This might be of practical interest for some and theoretical interest > for others -

Python and checked exceptions

2006-09-23 Thread Kay Schluehr
A new cookbook recipe suggesting two decorators @throws and @catches for treatment of checked exceptions in Python: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/498131 This might be of practical interest for some and theoretical interest for others - in particular those who know checke