Author: Stian Andreassen
Branch:
Changeset: r58740:86ab7f9f73b7
Date: 2012-11-05 15:50 +0100
http://bitbucket.org/pypy/pypy/changeset/86ab7f9f73b7/
Log: Remove this assert, it's a condition for the while loop
diff --git a/pypy/rlib/rbigint.py b/pypy/rlib/rbigint.py
--- a/pypy/rlib/rbigint.py
+++ b/pypy/rlib/rbigint.py
@@ -845,7 +845,7 @@
while i > 1 and self._digits[i - 1] == NULLDIGIT:
i -= 1
- assert i > 0
+
if i != self.numdigits():
self.size = i
if self.numdigits() == 1 and self._digits[0] == NULLDIGIT:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit