Ezio Melotti <ezio.melo...@gmail.com> added the comment:

I did some tests, creating an element ('elem') that contains two adjacent text 
nodes ('text').  With my latest patch the prettyprint is:
<?xml version="1.0" ?>
<elem>
        text
        text
</elem>

Here both the text nodes are printed on a newline and they are indented.

With your patch it should be:
<?xml version="1.0" ?>
<elem>texttext</elem>

I'm not sure there's any reason to prefer the second option though.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4147>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to