Jython

Message3199

Author amak
Recipients amak, irmen
Date 2008年05月24日.14:50:08
SpamBayes Score 0.12128504
Marked as misclassified No
Message-id <1211640618.77.0.344699165266.issue1033@psf.upfronthosting.co.za>
In-reply-to
Content
If you want to patch an existing jython 2.2.1 to eliminate this problem,
then update the zlib.adler32 function to look like this
def adler32(s, value=1):
 if value != 1: 
 raise ValueError, "adler32 only support start value of 1"
 checksum = Adler32()
 checksum.update(String.getBytes(s, 'iso-8859-1'))
 return Long(checksum.getValue()).intValue()
History
Date User Action Args
2008年05月24日 14:50:18amaksetspambayes_score: 0.121285 -> 0.12128504
messageid: <1211640618.77.0.344699165266.issue1033@psf.upfronthosting.co.za>
2008年05月24日 14:50:18amaksetspambayes_score: 0.121285 -> 0.121285
recipients: + amak, irmen
2008年05月24日 14:50:17amaklinkissue1033 messages
2008年05月24日 14:50:14amakcreate

Supported by Python Software Foundation,
Powered by Roundup

AltStyle によって変換されたページ (->オリジナル) /