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 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:29luisgfsetrecipients: + luisgf
2015-01-13 12:18:29luisgfsetmessageid: <1421151509.05.0.199234609043.issue23230@psf.upfronthosting.co.za>
2015-01-13 12:18:29luisgflinkissue23230 messages
2015-01-13 12:18:28luisgfcreate