
from lxml import etree from StringIO import StringIO etree.parse(StringIO(''))
Hi, i probably found bug: after this python under windows xp falls (no exception, probably access violation) Honza Prochazka

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

I tested it with lxml 0.7, now i have compiled lxml 0.8 and with 0.8 it works ok Honza
Jan Procházka wrote:
i probably found bug: after this
from lxml import etree from StringIO import StringIO etree.parse(StringIO(''))
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
________ Information from NOD32 ________ This message was checked by NOD32 Antivirus System for Linux Mail Server. part000.txt - is OK http://www.nod32.com
participants (2)
-
Jan Procházka
-
Stefan Behnel