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 Peter.Wentworth
Recipients Peter.Wentworth
Date 2011年05月20日.04:19:42
SpamBayes Score 0.0030345437
Marked as misclassified No
Message-id <1305865184.0.0.372587654488.issue12127@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 3 we no longer have octal literals. The assignment
x = 0050 
gives an invalid token error.
But the assignment
y = int("0050") assigns the value 50 to y.
I would advocate consistency in the two situations, and prefer that leading zeros should be permitted on numbers.
History
Date User Action Args
2011年05月20日 04:19:44Peter.Wentworthsetrecipients: + Peter.Wentworth
2011年05月20日 04:19:43Peter.Wentworthsetmessageid: <1305865184.0.0.372587654488.issue12127@psf.upfronthosting.co.za>
2011年05月20日 04:19:43Peter.Wentworthlinkissue12127 messages
2011年05月20日 04:19:42Peter.Wentworthcreate

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