Message3054
| Author | cgroves |
|---|---|
| Recipients | cgroves, leo_sakaguchi |
| Date | 2008年02月28日.17:38:59 |
| SpamBayes Score | 0.028460983 |
| Marked as misclassified | No |
| Message-id | <1204220339.95.0.139081752614.issue1001@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
System.currentTimeMillis returns a long which is wrapped in a PyLong when exposed to Python. As of 2.2, PyLong is a newstyle type so it only exposes python methods on it. In 2.1 it mistakenly exposed the Java method toString. Your System.currentTimeMillis().toString() throws an AttributeError looking for toString. You can use str(System.currentTimeMillis()) instead. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年02月28日 17:39:00 | cgroves | set | spambayes_score: 0.028461 -> 0.028460983 recipients: + cgroves, leo_sakaguchi |
| 2008年02月28日 17:38:59 | cgroves | set | spambayes_score: 0.028461 -> 0.028461 messageid: <1204220339.95.0.139081752614.issue1001@psf.upfronthosting.co.za> |
| 2008年02月28日 17:38:59 | cgroves | link | issue1001 messages |
| 2008年02月28日 17:38:59 | cgroves | create | |
Supported by Python Software Foundation,
Powered by Roundup