[issue6265] cElementTree & ElementTree use different exceptions for XML Errors

2010-03-11 Thread Florent Xicluna
Changes by Florent Xicluna : -- dependencies: -Update ElementTree with upstream changes resolution: -> fixed stage: -> committed/rejected status: open -> closed superseder: -> Update ElementTree with upstream changes ___ Python tracker

[issue6265] cElementTree & ElementTree use different exceptions for XML Errors

2009-06-11 Thread Neil Muller
New submission from Neil Muller : cElementTree will raise a SyntaxError on XML parsing errors, while ElementTree will raise ExpatError. This makes changing between the two a bit more problematic than it could be. See for example https://lists.canonical.com/archives/bazaar/2006q3/017491.html Ele