osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Informal educator feedback on PEP 572 (was Re: 2018 Python Language Summit coverage, last part)



On 2018-06-22 19:46, Steven D'Aprano wrote:
> - the inexplicable (to me) decision to say "for x of array" instead of
>    "for x in array";

Believe JavaScript has for?in, but as usual in the language it is broken and 
they needed a few more tries to get it right.  for?of is the latest version and 
works as expected.

-Mike