[Python-ideas] PEP 484 (Type Hints) -- first draft round

Ed Kellett edk141 at gmail.com
Thu Jan 22 13:32:40 CET 2015


On Thu Jan 22 2015 at 12:17:37 Chris Angelico <rosuav at gmail.com> wrote:

> The absence of a decorator that uses the annotations some other way
> should make it clear that they're type hints, just as the absence of a
> "global" statement should make it clear that assigned names are local
> to a function.
>

What about code that already exists? What about modules that want to
support Python installations that already exist (hence don't have the
`typing` module)? What about module authors who simply don't want to make
their code ugly with a no-op decorator just to signify that they're not
making it ugly with type annotations?

Ed Kellett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150122/a5fd7528/attachment.html>


More information about the Python-ideas mailing list