homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rutsky
Recipients rutsky
Date 2016年05月02日.16:59:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1462208383.05.0.60534121789.issue26908@psf.upfronthosting.co.za>
In-reply-to
Content
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:
$ python3.5 -c "1 and0"
 File "<string>", line 1
 1 and0
 ^
SyntaxError: invalid syntax
If this is a feature, can anyone give reasoning for it?
History
Date User Action Args
2016年05月02日 16:59:43rutskysetrecipients: + rutsky
2016年05月02日 16:59:43rutskysetmessageid: <1462208383.05.0.60534121789.issue26908@psf.upfronthosting.co.za>
2016年05月02日 16:59:43rutskylinkissue26908 messages
2016年05月02日 16:59:42rutskycreate

AltStyle によって変換されたページ (->オリジナル) /