26.04.18 22:02, Lukasz Langa пише:
On Apr 26, 2018, at 11:37 AM, Serhiy Storchaka wrote:
I propose to change the Python syntax by adding a requirement that there should
be a whitespace or delimiter between a numeric literal and the following
keyword.
-1
This would make Python 3.8 reject cod
> On Apr 26, 2018, at 11:37 AM, Serhiy Storchaka wrote:
>
> I propose to change the Python syntax by adding a requirement that there
> should be a whitespace or delimiter between a numeric literal and the
> following keyword.
-1
This would make Python 3.8 reject code due to stylistic prefere
In Python 2.5 `0or[]` was accepted by the Python parser. It became an
error in 2.6 because "0o" became recognizing as an incomplete octal
number. `1or[]` still is accepted.
On other hand, `1if 2else 3` is accepted despites the fact that "2e" can
be recognized as an incomplete floating point nu