Nov. 23, 2005
8:58 a.m.
Jan Procházka wrote:
from lxml import etree from StringIO import StringIO etree.parse(StringIO(''))
i probably found bug: after this python under windows xp falls (no exception, probably access violation)
I cannot reproduce that, neither under the current version of my branch, nor on the trunk. I only get the (correct) exception: Traceback (most recent call last): File "<stdin>", line 1, in ? File "etree.pyx", line 1051, in etree.parse File "etree.pyx", line 90, in etree._parseDocument File "parser.pxi", line 37, in etree.Parser.parseDoc etree.XMLSyntaxError Haven't tested lxml-0.8, but I wouldn't know any reason why that should fail. Stefan