PEP 526 - var annotations and the spirit of python

Bart bc at
Tue Jul 3 09:36:23 EDT 2018

On 01/07/2018 18:06, Abdur-Rahmaan Janhangeer wrote:
> was viewing pep526, so, finally, python cannot do without hinting the type
> as other languages?
> will python finally move to
> int x = 3 where int is a pre annotation?
> i am not arguing it's usefulness but rather, does it fit with python?

Not in my opinion. Just more of the kind of clutter that people turn to 
Python to avoid.

But it might suit a statically typed language with Python-like syntax, 
as some people prefer it to the syntax of their actual typed language.


More information about the Python-list mailing list