Python is DOOMED! Again!

Terry Reedy tjreedy at
Fri Jan 23 04:57:49 CET 2015

On 1/22/2015 3:44 PM, Rick Johnson wrote:
> On Thursday, January 22, 2015 at 12:28:47 PM UTC-6, Mark Lawrence wrote:
>> Evidence in completely the opposite direction if I'm
>> reading this correctly [snip link]
>> "The main use case of type hinting is static analysis
>> using an external tool without executing the analyzed
>> program. Existing tools used for that purpose like
>> pyflakes [pyflakes] or pylint [pylint] might be extended
>> to support type checking. New tools, like mypy's mypy -S
>> mode, can be adopted specifically for this purpose.
> So if the purpose is "static analysis", what is the
> justification for injecting new syntax into function sigs?

The syntax was put there years ago.

> I'm not *TOTALLY* against the idea of "type hints", but i am
> *TOTALLY* against their proposed location.

Unlike other annotations, type annotations can be put in a separate stub 

Terry Jan Reedy

More information about the Python-list mailing list