Author: Armin Rigo <[email protected]>
Branch:
Changeset: r48630:fb26ce1b9d1b
Date: 2011-10-31 17:13 +0000
http://bitbucket.org/pypy/pypy/changeset/fb26ce1b9d1b/
Log: Fix for test_string and test_unicode, failing with the new tests
added in c91b4f3c204f.
diff --git a/pypy/translator/jvm/src/pypy/PyPy.java
b/pypy/translator/jvm/src/pypy/PyPy.java
--- a/pypy/translator/jvm/src/pypy/PyPy.java
+++ b/pypy/translator/jvm/src/pypy/PyPy.java
@@ -755,7 +755,7 @@
int end = str.length();
if (left) {
- while (start <= str.length() && str.charAt(start) == ch) start++;
+ while (start < str.length() && str.charAt(start) == ch) start++;
}
if (right) {
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit