From: Stefan Behnel Date: Thu, 9 Dec 2010 08:58:35 +0000 (+0100) Subject: fix Py3 version dependency in C code X-Git-Tag: 0.14.beta0~2^2~3 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d7d16c4c0875835fb0a498680857f4db7e1c4989;p=cython.git fix Py3 version dependency in C code --- diff --git a/Cython/Compiler/Builtin.py b/Cython/Compiler/Builtin.py index f028a0e9..196a2094 100644 --- a/Cython/Compiler/Builtin.py +++ b/Cython/Compiler/Builtin.py @@ -123,7 +123,7 @@ static PyObject* __Pyx_PyRun(PyObject* o, PyObject* globals, PyObject* locals) { "code object passed to exec() may not contain free variables"); goto bad; } - #if PY_VERSION_HEX < 0x030200A4 + #if PY_VERSION_HEX < 0x030200B1 result = PyEval_EvalCode((PyCodeObject *)o, globals, locals); #else result = PyEval_EvalCode(o, globals, locals);