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
8dc8a614
Commit
8dc8a614
authored
Nov 03, 2006
by
William Stein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made some error output more verbose.
parent
5a02a703
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+1
-1
Cython/Compiler/Nodes.py
Cython/Compiler/Nodes.py
+2
-2
No files found.
Cython/Compiler/ExprNodes.py
View file @
8dc8a614
...
...
@@ -4,7 +4,7 @@
from
string
import
join
from
Errors
import
error
,
InternalError
from
Errors
import
error
,
warning
,
InternalError
import
Naming
from
Nodes
import
Node
import
PyrexTypes
...
...
Cython/Compiler/Nodes.py
View file @
8dc8a614
...
...
@@ -2171,7 +2171,7 @@ class DefNode(FuncDefNode):
arg_formats
.
append
(
format
)
else
:
error
(
arg
.
pos
,
"Cannot convert Python object argument to type '%s'"
"Cannot convert Python object argument to type '%s'
(when parsing input arguments)
"
%
arg
.
type
)
argformat
=
'"%s"'
%
string
.
join
(
arg_formats
,
""
)
has_starargs
=
self
.
star_arg
is
not
None
or
self
.
starstar_arg
is
not
None
...
...
@@ -2247,7 +2247,7 @@ class DefNode(FuncDefNode):
"%s = %s;"
%
(
arg
.
entry
.
cname
,
arg
.
hdr_cname
))
else
:
error
(
arg
.
pos
,
"Cannot convert argument from '%s' to '%s'"
%
"Cannot convert
1
argument from '%s' to '%s'"
%
(
old_type
,
new_type
))
def
generate_arg_conversion_from_pyobject
(
self
,
arg
,
code
):
...
...
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