[Python-checkins] benchmarks: Issue #25266: the mako benchmark does not work in Python 3.6.

brett.cannon python-checkins at python.org
Fri Oct 2 14:45:02 EDT 2015


https://hg.python.org/benchmarks/rev/85edb638dce6
changeset: 222:85edb638dce6
user: Brett Cannon <brett at python.org>
date: Fri Oct 02 11:44:56 2015 -0700
summary:
 Issue #25266: the mako benchmark does not work in Python 3.6.
Thanks to Florin Popa of Intel for the patch.
files:
 perf.py | 2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/perf.py b/perf.py
--- a/perf.py
+++ b/perf.py
@@ -1594,7 +1594,7 @@
 bm_env = BuildEnv({"PYTHONPATH": mako_path}, options.inherit_env)
 return MeasureGeneric(python, options, bm_path, bm_env, iteration_scaling=5)
 
- at VersionRange()
+ at VersionRange(None, '3.5')
 def BM_mako(*args, **kwargs):
 return SimpleBenchmark(MeasureMako, *args, **kwargs)
 
-- 
Repository URL: https://hg.python.org/benchmarks


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /