fix ext type inheritance from 'int' in Py3
authorStefan Behnel <scoder@users.berlios.de>
Mon, 6 Dec 2010 18:32:57 +0000 (19:32 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Mon, 6 Dec 2010 18:32:57 +0000 (19:32 +0100)
Cython/Compiler/ModuleNode.py

index 44a24994a8ce73eca3370cc0ba0f41a64b9b478e..c39128feb9532aee006e5b56305de2d73f9fe9a7 100644 (file)
@@ -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)