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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
56d9591a
Commit
56d9591a
authored
Jan 28, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build fix for the last self argument change
parent
7039048b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+6
-3
No files found.
Cython/Compiler/ExprNodes.py
View file @
56d9591a
...
...
@@ -2965,10 +2965,13 @@ class SimpleCallNode(CallNode):
if
arg
.
is_temp
:
some_args_in_temps
=
True
elif
arg
.
type
.
is_pyobject
and
not
env
.
nogil
:
if
arg
.
is_name
or
(
i
==
0
and
self
.
self
is
not
None
):
# names and a method's cloned "self" argument are ok
if
i
==
0
and
self
.
self
is
not
None
:
# a method's cloned "self" argument is ok
pass
elif
arg
.
is_name
and
arg
.
entry
and
arg
.
entry
.
is_local
and
not
arg
.
entry
.
in_closure
:
# plain local variables are ok
pass
el
if
arg
.
entry
and
(
not
arg
.
entry
.
is_local
or
arg
.
entry
.
in_closure
)
:
el
se
:
# we do not safely own the argument's reference,
# but we must make sure it cannot be collected
# before we return from the function, so we create
...
...
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