[ python-Patches-1762412 ] struni: test_xml_etree.py
"SourceForge.net" <[email protected]> Fri, 27 Jul 2007 14:03:22 -0700
| Newsgroups | gmane.comp.python.patches |
|---|---|
| Message-ID | <[email protected]> |
Patches item #1762412, was opened at 2007-07-27 21:03 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1762412&group_id=5470 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Tests Group: Python 3000 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Joe Gregorio (jcgregorio) Assigned to: Nobody/Anonymous (nobody) Summary: struni: test_xml_etree.py Initial Comment: Fixes to ElementTree.py so that the unit tests now pass on the struni branch. When writing to a file the output file is now opened in binary mode and the text is converted to bytes before writing. In several cases, like _escape_attrib, and _escape_cdata, the encoding was removed and pull out to be as close to the write() as possible. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1762412&group_id=5470