Comment 3 for bug 1833050

Revision history for this message
Kurakin Alexander (kuraga333) wrote :

BTW, in Gentoo's Python 3.6 I have the same.

But in Python 2.7 I don't have segfault:

    Traceback (most recent call last):
      File "test.py", line 19, in <module>
        lxml.etree.iterparse(f)
      File "src/lxml/iterparse.pxi", line 209, in lxml.etree.iterparse.__next__
      File "/home/sasha/_lxml-bug/test.xml", line 0
    lxml.etree.XMLSyntaxError: no element found

Did you try Python 3 or 2?