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 2012年10月29日 16:28 by jose.gregorio.fernandez.trincado, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg174126 - (view) | Author: jose gregorio fernandez trincado (jose.gregorio.fernandez.trincado) | Date: 2012年10月29日 16:28 | |
In [2]: 09 File "<ipython-input-2-7010843e6b42>", line 1 09 ^ SyntaxError: invalid token Using str() produce SyntaxError too. The same for 08. Figures like 01 and 02 produce the appropriate output. Hardware: Lenovo 3000 N200, 80Gb of HD, 4Gb of RAM, Core-Duo 2.6GHz OS: Ubuntu 12.04, 64bits. |
|||
| msg174127 - (view) | Author: Ezio Melotti (ezio.melotti) * (Python committer) | Date: 2012年10月29日 16:32 | |
Those are invalid octal literals, since the digits 8 and 9 don't exist in octal. See http://docs.python.org/2/reference/lexical_analysis.html#grammar-token-octinteger |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:37 | admin | set | github: 60563 |
| 2012年10月29日 16:32:40 | ezio.melotti | set | status: open -> closed nosy: + ezio.melotti messages: + msg174127 resolution: not a bug stage: resolved |
| 2012年10月29日 16:28:41 | jose.gregorio.fernandez.trincado | create | |