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
Gwenaël Samain
cython
Commits
cbc4cccc
Commit
cbc4cccc
authored
Nov 11, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
64d2bdee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+2
-3
No files found.
Cython/Compiler/ExprNodes.py
View file @
cbc4cccc
...
...
@@ -3683,8 +3683,8 @@ class SequenceNode(ExprNode):
arg
=
self
.
args
[
i
]
if
not
skip_children
:
arg
.
analyse_types
(
env
)
self
.
args
[
i
]
=
arg
.
coerce_to_pyobject
(
env
)
self
.
type
=
py_object_type
self
.
is_temp
=
1
# not setting self.type here, subtypes do this
def
may_be_none
(
self
):
return
False
...
...
@@ -3888,7 +3888,6 @@ class TupleNode(SequenceNode):
self
.
is_literal
=
1
else
:
SequenceNode
.
analyse_types
(
self
,
env
,
skip_children
)
self
.
type
=
tuple_type
def
calculate_result_code
(
self
):
if
len
(
self
.
args
)
>
0
:
...
...
@@ -3945,6 +3944,7 @@ class ListNode(SequenceNode):
# orignial_args [ExprNode] used internally
obj_conversion_errors
=
[]
type
=
list_type
gil_message
=
"Constructing Python list"
...
...
@@ -3963,7 +3963,6 @@ class ListNode(SequenceNode):
hold_errors
()
self
.
original_args
=
list
(
self
.
args
)
SequenceNode
.
analyse_types
(
self
,
env
)
self
.
type
=
list_type
self
.
obj_conversion_errors
=
held_errors
()
release_errors
(
ignore
=
True
)
...
...
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