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 | mykhal |
|---|---|
| Recipients | mykhal |
| Date | 2007年11月09日.14:43:26 |
| SpamBayes Score | 0.062337577 |
| Marked as misclassified | No |
| Message-id | <1194619407.27.0.40025808387.issue1413@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
It's impossible to call methods of int literals directly e.g. 1.__str__() (the same for oct literals). Even through it works for float, hex, literals, etc.. >>> 0x1.__str__() '1' >>> 1e0.__str__() '1.0' >>> 1..__str__() '1.0' >>> hasattr(1, '__str__') True >>> 1.__str__() File "<stdin>", line 1 1.__str__() ^ SyntaxError: invalid syntax >>> 01.__str__() File "<stdin>", line 1 01.__str__() ^ SyntaxError: invalid syntax |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2007年11月09日 14:43:27 | mykhal | set | spambayes_score: 0.0623376 -> 0.062337577 recipients: + mykhal |
| 2007年11月09日 14:43:27 | mykhal | set | spambayes_score: 0.0623376 -> 0.0623376 messageid: <1194619407.27.0.40025808387.issue1413@psf.upfronthosting.co.za> |
| 2007年11月09日 14:43:27 | mykhal | link | issue1413 messages |
| 2007年11月09日 14:43:26 | mykhal | create | |