[pypy-commit] pypy py3k: adapt to new API
pjenvey
noreply at buildbot.pypy.org
Fri Jan 31 02:30:46 CET 2014
Author: Philip Jenvey <pjenvey at 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))
More information about the pypy-commit
mailing list