On 2018-07-01 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?
PEP 526 says that the annotation would be:
x: int = 3
It also says """It should also be emphasized that Python will remain a
dynamically typed language, and the authors have no desire to ever make
type hints mandatory, even by convention.""
--
https://mail.python.org/mailman/listinfo/python-list