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
eb4ef08d
Commit
eb4ef08d
authored
Jul 18, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
23922c39
5bc442c6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
Cython/CodeWriter.py
Cython/CodeWriter.py
+2
-2
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-0
No files found.
Cython/CodeWriter.py
View file @
eb4ef08d
...
...
@@ -70,9 +70,9 @@ class CodeWriter(TreeVisitor):
if
len
(
items
)
>
0
:
for
item
in
items
[:
-
1
]:
self
.
visit
(
item
)
if
output_rhs
and
item
.
rhs
is
not
None
:
if
output_rhs
and
item
.
default
is
not
None
:
self
.
put
(
u" = "
)
self
.
visit
(
item
.
rhs
)
self
.
visit
(
item
.
default
)
self
.
put
(
u", "
)
self
.
visit
(
items
[
-
1
])
...
...
Cython/Compiler/ExprNodes.py
View file @
eb4ef08d
...
...
@@ -1670,7 +1670,7 @@ class SimpleCallNode(CallNode):
return
func_type
def
exception_checks
(
self
):
func_type
=
self
.
function
.
type
func_type
=
self
.
function
_type
()
exc_val
=
func_type
.
exception_value
exc_check
=
func_type
.
exception_check
if
exc_val
is
None
and
self
.
function
.
entry
.
visibility
!=
'extern'
:
...
...
Cython/Compiler/Nodes.py
View file @
eb4ef08d
...
...
@@ -358,6 +358,8 @@ class CNameDeclaratorNode(CDeclaratorNode):
child_attrs
=
[
'default'
]
default
=
None
def
analyse
(
self
,
base_type
,
env
,
nonempty
=
0
):
if
nonempty
and
self
.
name
==
''
:
# Must have mistaken the name for the type.
...
...
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