projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ecb09
)
fix Py3 version dependency in C code
author
Stefan Behnel
<scoder@users.berlios.de>
Thu, 9 Dec 2010 08:58:35 +0000
(09:58 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Thu, 9 Dec 2010 08:58:35 +0000
(09:58 +0100)
Cython/Compiler/Builtin.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Builtin.py
b/Cython/Compiler/Builtin.py
index f028a0e9f6c744e920500e3e36b73993f5b94f91..196a2094a09d4a55b3bed11a69517ca34daa90ab 100644
(file)
--- 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 < 0x030200
A4
+ #if PY_VERSION_HEX < 0x030200
B1
result = PyEval_EvalCode((PyCodeObject *)o, globals, locals);
#else
result = PyEval_EvalCode(o, globals, locals);