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:00cgrovessetspambayes_score: 0.028461 -> 0.028460983
recipients: + cgroves, leo_sakaguchi
2008-02-28 17:38:59cgrovessetspambayes_score: 0.028461 -> 0.028461
messageid: <1204220339.95.0.139081752614.issue1001@psf.upfronthosting.co.za>
2008-02-28 17:38:59cgroveslinkissue1001 messages
2008-02-28 17:38:59cgrovescreate