Message233928
| Author |
luisgf |
| Recipients |
luisgf |
| Date |
2015年01月13日.12:18:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1421151509.05.0.199234609043.issue23230@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python 3.4 interpreter fail to parse a integer that has zero padding, whereas python 2.7 works properly.
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> int(001)
1
>>>
Python 3.4.0 (default, Apr 11 2014, 13:05:11)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> int(001)
File "<stdin>", line 1
int(001)
^
SyntaxError: invalid token
>>> |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年01月13日 12:18:29 | luisgf | set | recipients:
+ luisgf |
| 2015年01月13日 12:18:29 | luisgf | set | messageid: <1421151509.05.0.199234609043.issue23230@psf.upfronthosting.co.za> |
| 2015年01月13日 12:18:29 | luisgf | link | issue23230 messages |
| 2015年01月13日 12:18:28 | luisgf | create |
|