From: Stefan Behnel Date: Mon, 6 Dec 2010 18:32:57 +0000 (+0100) Subject: fix ext type inheritance from 'int' in Py3 X-Git-Tag: 0.14.beta0~10 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=068e0c7165790843053e6da5e31c492e53341c7a;p=cython.git fix ext type inheritance from 'int' in Py3 --- diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 44a24994..c39128fe 100644 --- 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)