[issue3075] make minidom.toxml() encoding argument useful

2010-08-08 Thread Mark Lawrence
Mark Lawrence added the comment: Closing as no response to msg111607. -- resolution: -> out of date status: pending -> closed ___ Python tracker ___

[issue3075] make minidom.toxml() encoding argument useful

2010-07-26 Thread Mark Lawrence
Mark Lawrence added the comment: This is how toprettyxml looks in 3.1/2 which seems to meet the OP's need, I'll close in a few days time unless someone objects. def toprettyxml(self, indent="\t", newl="\n", encoding=None): # indent = the indentation string to prepend, per level # newl

[issue3075] make minidom.toxml() encoding argument useful

2010-06-12 Thread Éric Araujo
Changes by Éric Araujo : -- versions: +Python 3.2 -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue3075] make minidom.toxml() encoding argument useful

2010-06-12 Thread Éric Araujo
Éric Araujo added the comment: Is this still relevant for 3.2? -- nosy: +merwok versions: +Python 3.3 -Python 2.6, Python 3.0 ___ Python tracker ___ _

[issue3075] make minidom.toxml() encoding argument useful

2008-06-10 Thread Bill Janssen
Bill Janssen <[EMAIL PROTECTED]> added the comment: The method "toxml" is actually on xml.dom.minidom.Node. -- type: -> feature request ___ Python tracker <[EMAIL PROTECTED]> ___

[issue3075] make minidom.toxml() encoding argument useful

2008-06-10 Thread Bill Janssen
New submission from Bill Janssen <[EMAIL PROTECTED]>: Right now, the encoding argument added to xml.dom.minidom.DOMObject.toxml() in Python 2.3 seems fairly useless. It has to be UTF-8. But a one-line change to the implementation of toprettyxml would make it useful; instead of the encoding erro