[lxml-dev] setupinfo.py that downloads/builds libxml2/libxslt

Ian Bicking ianb at colorstudy.com
Fri Nov 7 16:11:59 CET 2008


Paul Everitt wrote:
> This resulted, after lots of downloading and compiling, with:
> 
> cythoning src/lxml/lxml.etree.pyx to src/lxml/lxml.etree.c
> 
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
>     cdef readonly object localname
>     cdef readonly object namespace
>     def __init__(self, text_or_uri_or_element, tag=None):
>         if not _isString(text_or_uri_or_element):
>             if isinstance(text_or_uri_or_element, _Element):
>                 text_or_uri_or_element = 
> (<_Element>text_or_uri_or_element).tag
>                                                   ^
> ------------------------------------------------------------
> 
> This is with Cython-0.9.8.1.1-py2.4-macosx-10.3-i386.egg

That's the same error I got.  I wonder if it's a Python 2.4 issue?


-- 
Ian Bicking : ianb at colorstudy.com : http://blog.ianbicking.org


More information about the lxml-dev mailing list