[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

R. David Murray report at bugs.python.org
Sat Oct 1 22:53:01 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

This looks correct to me, and it tested out fine on the test suite (and the provided test failed without the provided fix), so I committed it.

I have a small concern that the change in output might be a bit radical for a bug fix release, but it does seem to me that this is clearly a bug.  If people think it shouldn't go in the bug fix releases let me know and I'll back it out.

Thanks for the patch, Dan.

----------
nosy: +r.david.murray
stage: test needed -> committed/rejected
status: open -> closed
type: feature request -> behavior
versions: +Python 2.7, Python 3.3

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


More information about the Python-bugs-list mailing list