[pypy-svn] r5139 - pypy/trunk/src/pypy/objspace/std
arigo at codespeak.net
arigo at codespeak.net
Wed Jun 16 21:40:19 CEST 2004
Author: arigo
Date: Wed Jun 16 21:40:19 2004
New Revision: 5139
Modified:
pypy/trunk/src/pypy/objspace/std/intobject.py
Log:
Grumble. A minor fix: '%ld'%n isn't very RPython-ic and the 'l' isn't
supported by PyPy itself now. Now I have to restart the whole PyPy-over-PyPy
test -- takes 1-2 hours to start up :-)
Modified: pypy/trunk/src/pypy/objspace/std/intobject.py
==============================================================================
--- pypy/trunk/src/pypy/objspace/std/intobject.py (original)
+++ pypy/trunk/src/pypy/objspace/std/intobject.py Wed Jun 16 21:40:19 2004
@@ -45,7 +45,7 @@
def repr__Int(space, w_int1):
a = w_int1.intval
- res = "%ld" % a
+ res = str(a)
return space.wrap(res)
str__Int = repr__Int
More information about the Pypy-commit
mailing list