[Python-Dev] Type hints -- a mediocre programmer's reaction

Barry Warsaw barry at python.org
Mon Apr 20 20:41:06 CEST 2015


On Apr 20, 2015, at 07:30 PM, Harry Percival wrote:

>tldr; type hints in python source are scary. Would reserving them for stub
>files be better?

I think so.  I think PEP 8 should require stub files for stdlib modules and
strongly encourage them for 3rd party code.

Cheers,
-Barry


More information about the Python-Dev mailing list