projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c83238
)
fix ext type inheritance from 'int' in Py3
author
Stefan Behnel
<scoder@users.berlios.de>
Mon, 6 Dec 2010 18:32:57 +0000
(19:32 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Mon, 6 Dec 2010 18:32:57 +0000
(19:32 +0100)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 44a24994a8ce73eca3370cc0ba0f41a64b9b478e..c39128feb9532aee006e5b56305de2d73f9fe9a7 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-556,6
+556,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
#endif
#if PY_MAJOR_VERSION >= 3
+ #define PyIntObject PyLongObject
#define PyInt_Type PyLong_Type
#define PyInt_Check(op) PyLong_Check(op)
#define PyInt_CheckExact(op) PyLong_CheckExact(op)