[Python-Dev] Pie-thon benchmark code ready

Samuele Pedroni pedronis at bluewin.ch
Wed Dec 31 20:39:00 EST 2003

At 16:50 31.12.2003 -0800, Guido van Rossum wrote:

>(There's also an issue with the distinction between repr() of int and
>long, which will disappear in Python 3.0, and repr() of str
>vs. unicode, which already doesn't exist in Jython.  So I predict
>that the benchmark currently doesn't have a chance of passing on
>Jython.  (But it would be interesting to time it anyway -- simply
>disable the raises in b0.check() and in b5.check().)

Jython is still not up to run it. But yes it would be an interesting thing.

Indeed in any case some other things wrt representation would be a problem 

Jython 2.2a0 on java1.4.0_02 (JIT: null)
Type "copyright", "credits" or "license" for more information.
 >>> u'a'
 >>> def f(): pass
 >>> f
<function f 1>
 >>> class X:
...  pass
 >>> X
<class __main__.X 2>

In general <...> reprs vary.

More information about the Python-Dev mailing list