Message3059
| Author | rcatherman |
|---|---|
| Recipients | rcatherman |
| Date | 2008年03月06日.12:17:06 |
| SpamBayes Score | 0.0 |
| Marked as misclassified | No |
| Message-id | <1204805827.21.0.132199691481.issue1004@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Use the folling command to md5sum a file: $ java -Xmx256m -cp <path to jython>/jython.jar org.python.util.jython -c "import md5;import sys;print md5.new( open( sys.argv[1] ).read() ).hexdigest()" <file to hash> Then, try the same thing with python: $ python -c "import md5;import sys;print md5.new( open( sys.argv[1] ).read() ).hexdigest()" <file to hash> or with md5sum: $ md5sum <file to hash> The python and md5sum output match, while the jython does not. I see this behavior on 2.2.1, and 2.1. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2008年09月12日 00:31:53 | nriley | set | spambayes_score: 0.264964 -> 0.0 |
| 2008年03月06日 12:17:07 | rcatherman | set | spambayes_score: 0.264964 -> 0.264964 recipients: + rcatherman |
| 2008年03月06日 12:17:07 | rcatherman | set | spambayes_score: 0.264964 -> 0.264964 messageid: <1204805827.21.0.132199691481.issue1004@psf.upfronthosting.co.za> |
| 2008年03月06日 12:17:07 | rcatherman | link | issue1004 messages |
| 2008年03月06日 12:17:06 | rcatherman | create | |
Supported by Python Software Foundation,
Powered by Roundup