Author: Philip Jenvey <pjen...@underboss.org>
Branch: py3k
Changeset: r69033:32009d039283
Date: 2014-01-30 17:29 -0800
http://bitbucket.org/pypy/pypy/changeset/32009d039283/

Log:    adapt to new API

diff --git a/pypy/objspace/std/longtype.py b/pypy/objspace/std/longtype.py
--- a/pypy/objspace/std/longtype.py
+++ b/pypy/objspace/std/longtype.py
@@ -85,7 +85,7 @@
 
 def string_to_w_long(space, w_longtype, s, base=10):
     try:
-        bigint = rbigint.fromstr(s, base)
+        bigint = rbigint.fromstr(s, base, ignore_l_suffix=True, fname=u'int')
     except ParseStringError, e:
         raise OperationError(space.w_ValueError,
                              space.wrap(e.msg))
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to