[issue18990] Return root element from ElementTree.XMLPullParser.close() to match ElementTree.XMLParser
Stefan Behnel
report at bugs.python.org
Sat Sep 21 16:14:18 CEST 2013
Stefan Behnel added the comment:
> Unfortunately I don't have time to review refactoring patches now. In light of a larger refactoring planned in this part of the module in the future, I don't think it's very important to tweak things right now.
You misunderstood. The proposal was to remove the ".root" attribute, because it introduces a new API that hinders the future development and unnecessarily introduces an unprecedented inconsistency with existing APIs.
This is not a refactoring.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18990>
_______________________________________
More information about the Python-bugs-list
mailing list