]> granicus.if.org Git - python/commit
Fix xml.dom.minidom so it works again after the dict views introduction.
authorBrett Cannon <bcannon@gmail.com>
Wed, 21 Feb 2007 22:05:37 +0000 (22:05 +0000)
committerBrett Cannon <bcannon@gmail.com>
Wed, 21 Feb 2007 22:05:37 +0000 (22:05 +0000)
commit861fd6fdb9592e6d58a281521dea53d47ecc6adf
tree693d567587622858c76e14a5ad9e28ca35561e8f
parentecca313aa4ea9027317f23d176e104db3bb85705
Fix xml.dom.minidom so it works again after the dict views introduction.

There are some methods in minidom that return dict.keys() directly.  There were
left alone since the tests passed without touching them, but it might be
prudent to just wrap them in a 'list' call to be safe for people expecting a
list.
BROKEN
Lib/test/test_minidom.py
Lib/xml/dom/minidom.py