Hi. This patch fixes a NameError found in xml.dom.minidom. Here's an example for reproducing it: from xml.dom import minidom dom = minidom.parseString("1") pi = dom.createProcessingInstruction('xml-stylesheet', 'type="text/xsl" href="mystyle.xslt"') pi.nodeValue = "4" with output: Traceback (most recent call last): File "a.py", line 5, in pi.nodeValue = "4" File "C:\Python34\lib\xml\dom\minidom.py", line 979, in _set_nodeValue self.data = data NameError: name 'data' is not defined
My pleasure. I run Pylint from time to time over stdlib in order to find false positives for Pylint and in the process I stumble across these type of bugs.
History
Date
User
Action
Args
2022-04-11 14:58:04
admin
set
github: 65973
2014-06-15 22:01:21
Claudiu.Popa
set
messages: +
2014-06-15 21:54:59
rhettinger
set
status: open -> closedresolution: fixedmessages: + versions: + Python 3.4