Re: [Python-Dev] Pie-thon benchmark code ready
Dan reported a problem with the benchmark on Mac OS X:
Hrm. On my OS X laptop:
lir:~/Desktop/parrotbench dan$ python -O Python 2.3 (#1, Sep 13 2003, 00:49:11) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import b --> iteration 0 --> b0 Traceback (most recent call last): File "<stdin>", line 1, in ? File "b.py", line 12, in ? b0.main() File "b0.py", line 893, in main checkoutput(4201300315) File "b0.py", line 763, in checkoutput check(strhash(outputtext), n) File "b0.py", line 3, in check raise AssertionError("%.30r != %.30r" % (a, b)) AssertionError: 503203581L != 4201300315L
After some off-line email exchanges I think I have a fix for this
behavior, which must have to do with a different length of the
addresses shown in the default repr(), e.g. "
participants (14)
-
Aahz
-
Alex Martelli
-
Andrew MacIntyre
-
Anthony Baxter
-
Brad Clements
-
Dan Sugalski
-
Dennis Allison
-
Gerrit Holl
-
Gregory P. Smith
-
Guido van Rossum
-
Josiah Carlson
-
kbk@shore.net
-
Michael Hudson
-
Skip Montanaro