[issue2892] improve cElementTree iterparse error handling

2011-11-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 23ffaf975267 by Florent Xicluna in branch '3.2': Closes #2892: preserve iterparse events in case of SyntaxError. http://hg.python.org/cpython/rev/23ffaf975267 New changeset ca1e2cf2947b by Florent Xicluna in branch 'default': Merge 3.2: issue #2892

[issue2892] improve cElementTree iterparse error handling

2011-10-28 Thread Florent Xicluna
Florent Xicluna added the comment: Proposed patch for 3.3. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.python.org/file23544/issue2892_etree_iterparse.diff ___ Python tracker _

[issue2892] improve cElementTree iterparse error handling

2011-10-28 Thread Florent Xicluna
Florent Xicluna added the comment: unfortunately, I did not find the fix and the test in the upstream repository. AFAIK, upstream should be there: https://bitbucket.org/effbot/et-2009-provolone/src -- components: +XML -Extension Modules type: feature request -> behavior versions: +Pyth

[issue2892] improve cElementTree iterparse error handling

2010-10-05 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: If it's a regression, it should be fixed in some 2.7.x release Is there a patch somewhere? -- nosy: +amaury.forgeotdarc stage: -> needs patch ___ Python tracker ___

[issue2892] improve cElementTree iterparse error handling

2010-06-11 Thread Fredrik Lundh
Fredrik Lundh added the comment: Note that this was fixed in upstream 1.3 (and verified by the selftests), but the fix and test was apparently lost when that code was merged into 2.7. Since 2.7 is supposed to ship with 1.3, this is a regression, not a feature request. (But 2.7 is in rc, and

[issue2892] improve cElementTree iterparse error handling

2010-06-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.or

[issue2892] improve cElementTree iterparse error handling

2010-06-11 Thread Hrvoje Nikšić
Hrvoje Nikšić added the comment: Here is a small test case that demonstrates the problem, expected behavior and actual behavior: {{{ for ev in xml.etree.cElementTree.iterparse(StringIO('rubbish'), events=('start', 'end')): print ev }}} The above code should first print the two events (st

[issue2892] improve cElementTree iterparse error handling

2010-06-09 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- type: behavior -> feature request versions: +Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bu

[issue2892] improve cElementTree iterparse error handling

2008-05-16 Thread Georg Brandl
Changes by Georg Brandl <[EMAIL PROTECTED]>: -- assignee: -> effbot nosy: +effbot __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailin

[issue2892] improve cElementTree iterparse error handling

2008-05-16 Thread Hrvoje Nikšić
New submission from Hrvoje Nikšić <[EMAIL PROTECTED]>: In some cases it is unfortunate that any error in the XML chunk seen by the buffer prevents the events generated before the error from being delivered. For example, in some cases valid XML is embedded in a larger file or stream, and it is us