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
Xavier Thompson
cython
Commits
097b08db
Commit
097b08db
authored
Nov 09, 2020
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ensure flattened lock acquisition for inplace operations
parent
ace04473
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Cython/Compiler/CypclassTransforms.py
Cython/Compiler/CypclassTransforms.py
+4
-0
No files found.
Cython/Compiler/CypclassTransforms.py
View file @
097b08db
...
@@ -540,6 +540,10 @@ class CypclassLockTransform(Visitor.EnvTransform):
...
@@ -540,6 +540,10 @@ class CypclassLockTransform(Visitor.EnvTransform):
self
.
visit_assignment
(
node
)
self
.
visit_assignment
(
node
)
return
node
return
node
def
visit_InPlaceAssignmentNode
(
self
,
node
):
self
.
visit_assignment
(
node
)
return
node
def
visit_DelStatNode
(
self
,
node
):
def
visit_DelStatNode
(
self
,
node
):
for
arg
in
node
.
args
:
for
arg
in
node
.
args
:
arg_entry
=
self
.
id
(
arg
)
arg_entry
=
self
.
id
(
arg
)
...
...
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