Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
cython
Commits
314c25b5
Commit
314c25b5
authored
Aug 31, 2011
by
Vitja Makarov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CF: move exception target assignment mark to right place, ticket #725
parent
d91bd504
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Cython/Compiler/FlowControl.py
Cython/Compiler/FlowControl.py
+2
-2
tests/bugs.txt
tests/bugs.txt
+0
-1
No files found.
Cython/Compiler/FlowControl.py
View file @
314c25b5
...
...
@@ -955,10 +955,10 @@ class CreateControlFlowGraph(CythonTransform):
else
:
# TODO: handle * pattern
pass
if
clause
.
target
:
self
.
mark_assignment
(
clause
.
target
)
entry_point
=
self
.
flow
.
newblock
(
parent
=
self
.
flow
.
block
)
self
.
flow
.
nextblock
()
if
clause
.
target
:
self
.
mark_assignment
(
clause
.
target
)
self
.
visit
(
clause
.
body
)
if
self
.
flow
.
block
:
self
.
flow
.
block
.
add_child
(
next_block
)
...
...
tests/bugs.txt
View file @
314c25b5
...
...
@@ -19,7 +19,6 @@ temp_sideeffects_T654
class_scope_T671
slice2_T636
builtin_subtype_methods_T653
control_flow_except_T725
# CPython regression tests that don't current work:
pyregr.test_threadsignals
...
...
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