[Python-Dev] Pie-thon benchmark code ready (original) (raw)

Guido van Rossum guido at python.org
Wed Dec 31 18:45:00 EST 2003


Dan> Turns out not to. I built and installed the 2.3.3 kit and it still Dan> fails, albeit differently.

Works for me (Mac OS X 10.2.8, Python 2.3.2, GCC 3.3, parrotbench directory after cvs up around 5:30PM central time):

Check the README.txt. Does it say 1.0.1? Then you have my fixed version!

I hope so, then I can go home. :-)

montanaro:parrotbench% python2.3 -O Python 2.3.2 (#1, Dec 17 2003, 17:22:01) [GCC 3.3 20030304 (Apple Computer, Inc. build 1493)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import b --> iteration 0 --> b0 3141592653 3141592653 --> b1 False False ^^^^^ This actually means that you failed the stack overflow test. It should work when you run it like this:

python -O b.py

Or you could do sys.setrecursionlimit(1001) before importing b in the interactive session.

But that's unrelated to Dan's problem (which happens before b0 completes). And even if that test fails, the .pyo files will be correct.

--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-Dev mailing list