projects
/
platform
/
upstream
/
python-cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1f4acc
)
Fix __richcmp__ bug that's been failing Sage tests.
author
Robert Bradshaw
<robertwb@gmail.com>
Tue, 31 Dec 2013 06:47:02 +0000
(22:47 -0800)
committer
Robert Bradshaw
<robertwb@gmail.com>
Tue, 31 Dec 2013 06:59:35 +0000
(22:59 -0800)
Cython/Compiler/Nodes.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Nodes.py
b/Cython/Compiler/Nodes.py
index
15b288f
..
78a5553
100644
(file)
--- a/
Cython/Compiler/Nodes.py
+++ b/
Cython/Compiler/Nodes.py
@@
-2972,6
+2972,9
@@
class DefNodeWrapper(FuncDefNode):
if not arg.type.is_pyobject:
if not arg.type.create_from_py_utility_code(env):
pass # will fail later
+ elif not arg.hdr_type.is_pyobject:
+ if not arg.hdr_type.create_to_py_utility_code(env):
+ pass # will fail later
def signature_has_nongeneric_args(self):
argcount = len(self.args)