Stefan Behnel added the comment:

While refactoring the iterparse() implementation in lxml to support this new 
interface, I noticed that the close() method of the XMLPullParser does not 
behave like the close() method of the XMLParser. Instead of setting some .root 
attribute on the parser instance, the method should return the root element 
that the tree builder generated.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17741>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to