[Python-3000] Adaptation and type declarations

Chaz. eprparadocs at gmail.com
Mon Apr 10 22:47:38 CEST 2006


Personally I don't care what you call it. If you demean it because you 
disagree, you might as well fore go the whole issue of typing arguments. 
After all why turn Python in Cobol?

C. G.

Georg Brandl wrote:
> Chaz. 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(...) :
>>
>> as a way to indicate that foo() can throw a specific exception.
>>
>> I might suggest
>>
>> def foo(...) throws(...) :
> 
> Oh, and as we go, we could require that code that calls such a function
> explicitly handles that exceptions.
> 
> Changing the language's name to Javthon seems favorable, too ;)
> 
> Georg
> 
> _______________________________________________
> Python-3000 mailing list
> Python-3000 at python.org
> http://mail.python.org/mailman/listinfo/python-3000
> Unsubscribe: http://mail.python.org/mailman/options/python-3000/eprparadocs%40gmail.com
> 



More information about the Python-3000 mailing list