Author: Alex Gaynor <[email protected]>
Branch: stdlib-2.7.8
Changeset: r73107:b223e8747096
Date: 2014-08-27 16:51 -0700
http://bitbucket.org/pypy/pypy/changeset/b223e8747096/
Log: Fixed translation
diff --git a/rpython/rlib/runicode.py b/rpython/rlib/runicode.py
--- a/rpython/rlib/runicode.py
+++ b/rpython/rlib/runicode.py
@@ -906,6 +906,7 @@
elif inShift:
pos = shiftOutStartPos # back off output
+ assert pos >= 0
return result.build()[:pos], pos
def unicode_encode_utf_7(s, size, errors, errorhandler=None):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit