On 07/01/2018 12:17 PM, MRAB wrote:
> 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.""

<delurk>

This strikes me as syntactic noise.  Python is dynamically typed and will 
remain so.
Why clutter the language - even optionally - with stuff like this?

<relurk>
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to