Closed mwatts15 closed 2 years ago
(Sorry to be late with this, @mwatts15, I do not really maintain this software any more...
The problem is that the package is used at places that still use python2. Legacy software and all that. Ie, the changes you propose may not work. What about
if (PY3 and isinstance(input, str)) or (isinstance(input, StringIO) or isinstance(input, file)) :
parse = xml.dom.minidom.parse
else:
parse = xml.dom.minidom.parseString
instead?
(I can make edit the library directly or you can amend the PR; as you prefer)
Thanks
Closing without merge, per #39 which solved it.