[New-bugs-announce] [issue18990] Remove unnecessary API inconsistency from ElementTree.XMLPullParser.close()

Stefan Behnel report at bugs.python.org
Mon Sep 9 21:32:33 CEST 2013


New submission from Stefan Behnel:

The .close() method of the new XMLPullParser (see issue17741) in Py3.4 shows an unnecessarily complicated behaviour that is inconsistent with the .close() method of the existing XMLParser.

The attached patch removes some code to fix this.

----------
components: Library (Lib), XML
files: xmlpullparser_close.patch
keywords: patch
messages: 197383
nosy: scoder
priority: normal
severity: normal
status: open
title: Remove unnecessary API inconsistency from ElementTree.XMLPullParser.close()
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file31702/xmlpullparser_close.patch

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


More information about the New-bugs-announce mailing list