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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18990>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to