Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c29d2972
Commit
c29d2972
authored
Sep 06, 2006
by
Marc-André Lemburg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport bug fix for SF bug report #1546372.
parent
1625753e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
Misc/NEWS
Misc/NEWS
+7
-0
Tools/pybench/pybench.py
Tools/pybench/pybench.py
+7
-2
No files found.
Misc/NEWS
View file @
c29d2972
...
...
@@ -83,6 +83,13 @@ Documentation
to
a
newly
created
list
object
and
add
notes
that
this
isn
't a good idea.
Tools
-----
- Bug #1546372: Fixed small bugglet in pybench that caused a missing
file not to get reported properly.
Build
-----
...
...
Tools/pybench/pybench.py
View file @
c29d2972
...
...
@@ -885,7 +885,7 @@ python pybench.py -s p25.pybench -c p21.pybench
else
:
bench
.
print_benchmark
(
hidenoise
=
hidenoise
,
limitnames
=
limitnames
)
except
IOError
:
except
IOError
,
reason
:
print
'* Error opening/reading file %s: %s'
%
(
repr
(
show_bench
),
reason
)
...
...
@@ -931,8 +931,13 @@ python pybench.py -s p25.pybench -c p21.pybench
bench
.
name
=
reportfile
pickle
.
dump
(
bench
,
f
)
f
.
close
()
except
IOError
:
except
IOError
,
reason
:
print
'* Error opening/writing reportfile'
except
IOError
,
reason
:
print
'* Error opening/writing reportfile %s: %s'
%
(
reportfile
,
reason
)
print
if
__name__
==
'__main__'
:
PyBenchCmdline
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment