[Python-ideas] Trial balloon: adding variable type declarations in support of PEP 484

Alexander Belopolsky alexander.belopolsky at gmail.com
Thu Aug 4 15:09:04 EDT 2016


On Thu, Aug 4, 2016 at 2:33 PM, Brendan Barnwell <brenbarn at brenbarn.net> wrote:
> It seems odd to have Python syntax that not only doesn't do anything, but
> can't even be made to do anything by the program itself when it runs.

Why do you find this odd?  Python already has #-comment syntax with
exactly the property you complain about.  Think of local variable
annotation as a structured comment syntax.


More information about the Python-ideas mailing list