[pypy-commit] pypy py3k: Update _sha1 because of True Division
amauryfa
noreply at buildbot.pypy.org
Tue Dec 20 01:32:42 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r50737:ed43cc10a928
Date: 2011-12-19 17:15 +0100
http://bitbucket.org/pypy/pypy/changeset/ed43cc10a928/
Log: Update _sha1 because of True Division
diff --git a/lib_pypy/_sha1.py b/lib_pypy/_sha1.py
--- a/lib_pypy/_sha1.py
+++ b/lib_pypy/_sha1.py
@@ -63,7 +63,7 @@
def _bytelist2longBigEndian(list):
"Transform a list of characters into a list of longs."
- imax = len(list)/4
+ imax = len(list) // 4
hl = [0L] * imax
j = 0
More information about the pypy-commit
mailing list