[lxml-dev] lxml 1.1 problems with python 2.3

Martijn Faassen faassen at infrae.com
Fri Nov 24 18:07:05 CET 2006


Hi there,

On Python 2.3 this segfaults with lxml 1.1 (it works with lxml 1.0):

   >>> from lxml import etree
   >>> etree.parse('sfadfdfd')

On python 2.4 we get an error as we should (as the file sfafdfd doesn't 
exist).

Additionally, the tests don't work anymore under Python 2.3. For lxml 
1.1 some dependencies on Python 2.4's doctest module exist that don't 
work on Python 2.3, probably because we dropped the custom doctest that 
I added initially. For lxml 1.0 this is less bad, but there are still 
some dependencies on 'sorted()' and such in the tests.

I don't think we actually ever explictly dropped support for Python 2.3. 
Perhaps we should for a particular version of lxml, but it'd be nice if 
we could track down this bug. It might indicate something wrong in 
Python 2.4 that just doesn't show up right away, I don't know.

Regards,

Martijn


More information about the lxml-dev mailing list