Nick Coghlan added the comment:

We're not changing XMLPullParser.close() to return anything other than None, so 
the unit tests now check for this, and this behaviour is explicitly documented 
with users redirected towards read_events() instead.

This is consistent with the XMLParser.close() API, since what to return is up 
to the target, and the implicit custom target for XMLPullParser is designed for 
the events to be consumed in a stream.

----------

_______________________________________
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