[issue15296] Minidom can't create ASCII representation

2012-07-13 Thread Serhiy Storchaka
Serhiy Storchaka storch...@gmail.com added the comment: Serhiy - why did you remove that documentation bit? Because it's not relevant anymore. With patch you will never get UnicodeError exceptions in case of unrepresentable text data. -- ___ Python

[issue15296] Minidom can't create ASCII representation

2012-07-13 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 7b97cea795d8 by Eli Bendersky in branch 'default': Issue #15296: Fix minidom.toxml/toprettyxml for non-unicode encodings. Patch by Serhiy Storchaka, with some minor style adjustments by me.

[issue15296] Minidom can't create ASCII representation

2012-07-13 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Fixed in 3.3 Thanks for the patch -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15296 ___

[issue15296] Minidom can't create ASCII representation

2012-07-12 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Serhiy - why did you remove that documentation bit? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15296 ___

[issue15296] Minidom can't create ASCII representation

2012-07-08 Thread Serhiy Storchaka
New submission from Serhiy Storchaka storch...@gmail.com: Minidom can parse ASCII-encoded XML data, but can't create it. from xml.dom.minidom import parseString doc = parseString(b'?xml version=1.0 encoding=us-ascii?foo#x20ac;/foo') doc.toxml('us-ascii') Traceback (most recent call last):

[issue15296] Minidom can't create ASCII representation

2012-07-08 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +eli.bendersky stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15296 ___