Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r81575:8752634a16ae Date: 2016-01-05 11:15 +0000 http://bitbucket.org/pypy/pypy/changeset/8752634a16ae/
Log: fix diff --git a/rpython/rlib/rbigint.py b/rpython/rlib/rbigint.py --- a/rpython/rlib/rbigint.py +++ b/rpython/rlib/rbigint.py @@ -2817,6 +2817,8 @@ def parse_string_from_binary_base(parser): # The point to this routine is that it takes time linear in the number of # string characters. + from rpython.rlib.rstring import ParseStringError + base = parser.base if base == 2: bits_per_char = 1 elif base == 4: bits_per_char = 2 _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit