Author: Philip Jenvey <[email protected]>
Branch: remove-intlong-smm
Changeset: r69143:78aecefdc562
Date: 2014-02-14 17:00 -0800
http://bitbucket.org/pypy/pypy/changeset/78aecefdc562/
Log: adapt from 0e0d08198110 which I previously missed
diff --git a/pypy/objspace/std/longobject.py b/pypy/objspace/std/longobject.py
--- a/pypy/objspace/std/longobject.py
+++ b/pypy/objspace/std/longobject.py
@@ -536,7 +536,7 @@
def _string_to_w_long(space, w_longtype, w_source, string, base=10):
try:
- bigint = rbigint.fromstr(string, base)
+ bigint = rbigint.fromstr2(string, base)
except ParseStringError as e:
from pypy.objspace.std.intobject import wrap_parsestringerror
raise wrap_parsestringerror(space, e, w_source)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit