[issue18990] Return root element from ElementTree.XMLPullParser.close() to match ElementTree.XMLParser

Nick Coghlan report at bugs.python.org
Fri Sep 20 07:27:31 CEST 2013


Nick Coghlan added the comment:

I clarified the issue title to actually explain the concern and the proposed fix (i.e. close() on XMLPullParser doesn't currently return the root, which is inconsistent with the XMLParser API).

This sounds like a reasonable change to me, but the docs also need to be updated.

----------
title: Remove unnecessary API inconsistency from ElementTree.XMLPullParser.close() -> Return root element from ElementTree.XMLPullParser.close() to match ElementTree.XMLParser

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18990>
_______________________________________


More information about the Python-bugs-list mailing list