This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients scoder
Date 2013-09-01.17:34:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1378056891.98.0.165106942337.issue18899@psf.upfronthosting.co.za>
In-reply-to
Content
diff --git a/performance/pystone.py b/performance/pystone.py
--- a/performance/pystone.py
+++ b/performance/pystone.py
@@ -59,9 +59,9 @@
 
 def main(loops=LOOPS):
     benchtime, stones = pystones(loops)
-    print "Pystone(%s) time for %d passes = %g" % \
-          (__version__, loops, benchtime)
-    print "This machine benchmarks at %g pystones/second" % stones
+    print("Pystone(%s) time for %d passes = %g" %
+          (__version__, loops, benchtime))
+    print("This machine benchmarks at %g pystones/second" % stones)
 
 
 def pystones(loops=LOOPS):
@@ -72,7 +72,7 @@
 Char1Glob = '\0'
 Char2Glob = '\0'
 Array1Glob = [0]*51
-Array2Glob = map(lambda x: x[:], [Array1Glob]*51)
+Array2Glob = list(map(lambda x: x[:], [Array1Glob]*51))
 PtrGlb = None
 PtrGlbNext = None
History
Date User Action Args
2013-09-01 17:34:52scodersetrecipients: + scoder
2013-09-01 17:34:51scodersetmessageid: <1378056891.98.0.165106942337.issue18899@psf.upfronthosting.co.za>
2013-09-01 17:34:51scoderlinkissue18899 messages
2013-09-01 17:34:51scodercreate