Message282767
| Author |
martin.panter |
| Recipients |
docs@python, martin.panter, woo yoo |
| Date |
2016年12月09日.07:31:25 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1481268686.11.0.227733454597.issue28916@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Looks like a leftover relic from Python 2. In Python 3, the prefix is "0o", not just "0". This matches to change in Python 2 to 3 octal literal syntax. And there is no special handling of zero in 3:
>>> "%#o" % 0
'0o0' |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2016年12月09日 07:31:26 | martin.panter | set | recipients:
+ martin.panter, docs@python, woo yoo |
| 2016年12月09日 07:31:26 | martin.panter | set | messageid: <1481268686.11.0.227733454597.issue28916@psf.upfronthosting.co.za> |
| 2016年12月09日 07:31:25 | martin.panter | link | issue28916 messages |
| 2016年12月09日 07:31:25 | martin.panter | create |
|