From d7d16c4c0875835fb0a498680857f4db7e1c4989 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Thu, 9 Dec 2010 09:58:35 +0100 Subject: [PATCH] fix Py3 version dependency in C code --- Cython/Compiler/Builtin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2