[Python-Dev] Type hints -- a mediocre programmer's reaction (original) (raw)

Guido van Rossum guido at python.org
Mon Apr 20 23:02:22 CEST 2015


On Mon, Apr 20, 2015 at 1:50 PM, Harry Percival <harry.percival at gmail.com> wrote:

> stub files are only used to type-check users of a module. If you want a module itself to be type-checked you have to use inline type hints

is this a fundamental limitation, or just the current state of tooling?

It's not fundamental, it's just more in line with the original purpose of stubs (to describe C extensions).

-- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150420/b66c4259/attachment.html>



More information about the Python-Dev mailing list