[Python-3000] Adaptation and type declarations
Chaz.
eprparadocs at gmail.com
Mon Apr 10 22:43:54 CEST 2006
Is that what adding some typing to the system will do?
Josiah Carlson wrote:
> "Chaz." <eprparadocs at gmail.com> wrote:
>> If you are going this far, why not also support a throws() modifier (or
>> whatever you might call it).
>>
>> Right now I do something like:
>>
>> @throws(IOError)
>> def foo(...) :
> ...
>> I might suggest
>>
>> def foo(...) throws(...) :
>>
>> as a more integrated approach.
>
> You are just relocating decorators. Stop.
>
>
> - Josiah
>
>
More information about the Python-3000
mailing list