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.
Created on 2016年05月02日 16:59 by rutsky, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg264654 - (view) | Author: Vladimir Rutsky (rutsky) | Date: 2016年05月02日 16:59 | |
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? |
|||
| msg264656 - (view) | Author: Berker Peksag (berker.peksag) * (Python committer) | Date: 2016年05月02日 17:12 | |
Thanks for the report. This is a duplicate of issue 13610. You can read issue 13610 for more information. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:30 | admin | set | github: 71095 |
| 2016年05月02日 17:12:25 | berker.peksag | set | status: open -> closed superseder: On Python parsing numbers. nosy: + berker.peksag messages: + msg264656 resolution: duplicate stage: resolved |
| 2016年05月02日 16:59:43 | rutsky | create | |