Message136352
| 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:44 | Peter.Wentworth | set | recipients:
+ Peter.Wentworth |
| 2011年05月20日 04:19:43 | Peter.Wentworth | set | messageid: <1305865184.0.0.372587654488.issue12127@psf.upfronthosting.co.za> |
| 2011年05月20日 04:19:43 | Peter.Wentworth | link | issue12127 messages |
| 2011年05月20日 04:19:42 | Peter.Wentworth | create |
|