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
9ea0fbc6
Commit
9ea0fbc6
authored
May 06, 1992
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unmerged except and finally clauses
parent
8899a9ca
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
Lib/test/test_exceptions.py
Lib/test/test_exceptions.py
+5
-4
Lib/test/test_opcodes.py
Lib/test/test_opcodes.py
+0
-1
No files found.
Lib/test/test_exceptions.py
View file @
9ea0fbc6
...
...
@@ -19,10 +19,11 @@ fp.close()
fp
=
open
(
TESTFN
,
'r'
)
savestdin
=
sys
.
stdin
try
:
sys
.
stdin
=
fp
x
=
raw_input
()
except
EOFError
:
pass
try
:
sys
.
stdin
=
fp
x
=
raw_input
()
except
EOFError
:
pass
finally
:
sys
.
stdin
=
savestdin
fp
.
close
()
...
...
Lib/test/test_opcodes.py
View file @
9ea0fbc6
...
...
@@ -14,7 +14,6 @@ for i in range(10):
except
NameError
:
pass
except
ZeroDivisionError
:
pass
except
TypeError
:
pass
finally
:
pass
try
:
pass
except
:
pass
try
:
pass
...
...
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