Commit c580c541 authored by scoder's avatar scoder Committed by GitHub

Merge pull request #2165 from mattip/master

COMPAT: From the next release PyPy fixed tp_basicsize of PyType_Type
parents 89cfbb4a 97dc9223
......@@ -3020,7 +3020,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
if sizeof_objstruct != objstruct:
if not condition:
code.putln("") # start in new line
code.putln("#if CYTHON_COMPILING_IN_PYPY")
code.putln("#if defined(PYPY_VERSION_NUM) && PYPY_VERSION_NUM < 0x050B0000")
code.putln('sizeof(%s),' % objstruct)
code.putln("#else")
code.putln('sizeof(%s),' % sizeof_objstruct)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment