syntax difference

Jim Lee jlee54 at gmail.com
Mon Jun 18 16:42:50 EDT 2018



On 06/18/2018 12:52 PM, Rhodri James wrote:
> On 18/06/18 19:34, Jim Lee wrote:
>> Type hints are just that - hints.  They have no syntactic meaning to 
>> the parser,
>
> This is plainly not true, otherwise the parser would be throwing 
> syntax errors at you all the time.  Whether they have semantic meaning 
> to the parser is more debatable.
>
That's funny - arguing semantics over the difference between syntactic 
and semantic.  If we're not careful, this conversation could become 
recursive and blow up the Internet! :)

-Jim




More information about the Python-list mailing list