[pypy-issue] [issue1178] adding support to lxml in pypy
Amaury Forgeot d Arc
tracker at bugs.pypy.org
Sun Jun 17 21:43:18 CEST 2012
Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
This approach is wrong: PyPy objects are very different from CPython objects (hey, they are not even
pointers: their addresses can move!)
Normally extension modules shouldn't have to know the exact layout of objects: they call
"PyList_GetItem(list, index)", and not for example "list->ob_item[index]"... which is good for PyPy,
which can provide a different implementation.
For "performance reasons", lxml (and Cpython which is used to generate its C code) made use of its
knowledge of CPython internals, and won't work with PyPy.
Many issues have been fixed with recent versions of Cython. You should try to regenerate lxml with a
recent Cython, or wait for a version of lxml that supports PyPy.
----------
nosy: +afa
status: chatting -> wontfix
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1178>
________________________________________
More information about the pypy-issue
mailing list