projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e35333
)
Py2.3 fix
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 14 Dec 2008 10:15:23 +0000
(11:15 +0100)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 14 Dec 2008 10:15:23 +0000
(11:15 +0100)
Cython/Compiler/ModuleNode.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/ModuleNode.py
b/Cython/Compiler/ModuleNode.py
index 3af002222a0fe1597d3a9cc39cf07c024b5f105d..ba0bce5e76e76576c8d4388783e3911595fdfe2a 100644
(file)
--- a/
Cython/Compiler/ModuleNode.py
+++ b/
Cython/Compiler/ModuleNode.py
@@
-411,6
+411,7
@@
class ModuleNode(Nodes.Node, Nodes.BlockNode):
code.putln("#endif")
code.putln("#if PY_VERSION_HEX < 0x02040000")
code.putln(" #define METH_COEXIST 0")
+ code.putln(" #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type)")
code.putln("#endif")
code.putln("#if PY_VERSION_HEX < 0x02050000")