Berker Peksag added the comment:
Thanks for the report. This is a duplicate of issue 13610. You can read issue
13610 for more information.
--
nosy: +berker.peksag
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> On Python parsing numbers.
___
New submission from Vladimir Rutsky:
Looks like there is no need to place space separators after numbers:
$ python3.5 -c "print(1and 0)"
0
$ python3.5 -c "print([1for i in range(1)])"
[1]
Not sure is this a bug or a feature, but I would expect that this should be
SyntaxError, same as here:
$