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 florin.papa
Recipients brett.cannon, florin.papa, pitrou
Date 2015-11-24.12:06:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1448366783.46.0.677910180147.issue25721@psf.upfronthosting.co.za>
In-reply-to
Content
Hi all,

This is Florin Papa from the Server Languages Optimizations Team at Intel Corporation.

The patch submitted here solves a crash occurring on Python 2.7 after running pybench from perf.py (python perf.py -r -b pybench base_python modified_python). The error appears when trying to display the results of the run because the PyBenchBenchmarkResult class does not include the attribute "always_display".

Here is the error message received:
File "../benchmarks/perf.py", line 2574, in main
    if result.always_display:
AttributeError: 'PyBenchBenchmarkResult' object has no attribute 'always_display'

To apply the patch please follow these steps:

hg clone https://hg.python.org/benchmarks
cd benchmarks/
copy fix_pybench_results.patch to the current directory
hg import --no-commit fix_pybench_results.patch

Thank you,
Florin Papa
History
Date User Action Args
2015-11-24 12:06:23florin.papasetrecipients: + florin.papa, brett.cannon, pitrou
2015-11-24 12:06:23florin.papasetmessageid: <1448366783.46.0.677910180147.issue25721@psf.upfronthosting.co.za>
2015-11-24 12:06:23florin.papalinkissue25721 messages
2015-11-24 12:06:23florin.papacreate