Christian Heimes added the comment:
Thanks for your report. The issue has been address in Python 3.x. NamedNodeMap
properly implements __contains__(). Python 2.7 is in feature freeze mode which
means we can't backport the function.
--
nosy: +christian.heimes
resolution: - fixed
New submission from Matthew Newcomb spolem...@gmail.com:
I was cleaning up some old code to make it pep8 compliant and came across this
bug. Switching from 'has_key' to 'in' does not work with a
xml.dom.minidom.NamedNodeMap. An easy solution appears to be to add a
'__contains__' method to