Commit 97dc9223 authored by mattip's avatar mattip

COMPAT: From the next release PyPy fixed tp_basicsize of PyType_Type

parent 89cfbb4a
......@@ -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