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
1dc8c799
Commit
1dc8c799
authored
Jan 02, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some useless temping (not sure if it's needed at all, but lacks tests)
parent
05a1bbca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+1
-1
No files found.
Cython/Compiler/Nodes.py
View file @
1dc8c799
...
@@ -4640,7 +4640,7 @@ class SingleAssignmentNode(AssignmentNode):
...
@@ -4640,7 +4640,7 @@ class SingleAssignmentNode(AssignmentNode):
dtype
=
self
.
lhs
.
type
dtype
=
self
.
lhs
.
type
self
.
rhs
=
self
.
rhs
.
coerce_to
(
dtype
,
env
)
self
.
rhs
=
self
.
rhs
.
coerce_to
(
dtype
,
env
)
if
use_temp
or
self
.
rhs
.
is_attribute
:
if
use_temp
or
(
self
.
rhs
.
is_attribute
and
not
self
.
lhs
.
is_name
)
:
# (cdef) attribute access is not safe as it traverses pointers
# (cdef) attribute access is not safe as it traverses pointers
self
.
rhs
=
self
.
rhs
.
coerce_to_temp
(
env
)
self
.
rhs
=
self
.
rhs
.
coerce_to_temp
(
env
)
elif
self
.
rhs
.
type
.
is_pyobject
:
elif
self
.
rhs
.
type
.
is_pyobject
:
...
...
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