[issue17024] cElementTree calls end() on parser taget even if start() fails

2021-12-29 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> works for me stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___

[issue17024] cElementTree calls end() on parser taget even if start() fails

2021-12-10 Thread Irit Katriel
Irit Katriel added the comment: This test passes on 3.11 (on a Mac). -- nosy: +iritkatriel status: open -> pending ___ Python tracker ___

[issue17024] cElementTree calls end() on parser taget even if start() fails

2013-05-20 Thread Eli Bendersky
Eli Bendersky added the comment: Yes, it doesn't seem that expat cares too much about propagating errors from every single handler. Digging in its code comments, it says that even when XML_StopParser is called, some event handlers (like the one for end element) may still be called since

[issue17024] cElementTree calls end() on parser taget even if start() fails

2013-01-24 Thread Stefan Behnel
New submission from Stefan Behnel: The following compatibility unit test fails for me in lxml since Py3.3. etree = xml.etree.ElementTree def test_parser_target_error_in_start(self): assertEqual = self.assertEqual events = [] class Target(object):

[issue17024] cElementTree calls end() on parser taget even if start() fails

2013-01-24 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17024 ___