PEP 526 - var annotations and the spirit of python

Ian Kelly ian.g.kelly at gmail.com
Sun Jul 1 13:21:09 EDT 2018


On Sun, Jul 1, 2018 at 11:09 AM Abdur-Rahmaan Janhangeer
<arj.python at gmail.com> wrote:
>
> was viewing pep526, so, finally, python cannot do without hinting the type
> as other languages?

Python certainly can do without it. That's why it's an optional
feature with no runtime effect beyond making the annotations
inspectable and causing unassigned function variables to be considered
locals.



More information about the Python-list mailing list