Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54534:5995e1a6e2a1
Date: 2012-04-19 14:14 +0200
http://bitbucket.org/pypy/pypy/changeset/5995e1a6e2a1/
Log: re-fix what was broken by 0000a290ac54 and 0954589ca523: on py3k,
the repr() of longs is the same as their str(), i.e. the number
without the L suffix
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
@@ -117,7 +117,7 @@
space.wrap("long int too large to convert to
float"))
def repr__Long(space, w_long):
- return space.wrap(w_long.num.repr())
+ return space.wrap(w_long.num.str())
def str__Long(space, w_long):
return space.wrap(w_long.num.str())
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit