[pypy-issue] [issue1178] adding support to lxml in pypy
Amaury Forgeot d Arc
tracker at bugs.pypy.org
Mon Jun 18 09:48:38 CEST 2012
Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
> The source went looking for objects such as PyObject_HEAD and PyListObject
These are already defined by pypy. What pypy does not provide is the exact same structure as used by
CPython, it's just not possible.
As long as lxml only uses PyListObject as opaque pointers, it does not make any difference. But lxml
should not use PyListObject struct members. There are macros and functions for all usages, like
lxml C code is mostly generated by Cython. I know for sure that Cython fixed a lot of "incorrect"
(i.e. too CPython-specific) usages of the API.
But let's be concrete: I suppose you got compilation errors? What are they?
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue