[pypy-dev] Bringing Cython and PyPy closer together
stefan_ml at behnel.de
Sat Feb 18 13:38:56 CET 2012
Amaury Forgeot d'Arc, 18.02.2012 10:08:
> I made some modifications to pypy, cython and lxml,
> and now I can compile and install cython, lxml, and they seem to work!
> For example::
> html = etree.Element("html")
> body = etree.SubElement(html, "body")
> body.text = "TEXT"
> br = etree.SubElement(body, "br")
> br.tail = "TAIL"
> Here are the changes I made, some parts are really hacks and should be
> lxml: http://paste.pocoo.org/show/552903/
I attached a reworked but untested patch for lxml. Could you try it?
I couldn't find the PyWeakref_LockObject() function anywhere. That's a
PyPy-only thing, right? I aliased it to (NULL) when compiling for CPython.
I'll go through the Cython changes next, so I haven't got a working Cython
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4020 bytes
Desc: not available
More information about the pypy-dev