[Patches] [ python-Patches-1762412 ] struni: test_xml_etree.py

SourceForge.net noreply at sourceforge.net
Sat Jul 28 13:41:08 CEST 2007


Patches item #1762412, was opened at 2007-07-27 23:03
Message generated for change (Comment added) made by loewis
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: Closed
>Resolution: Accepted
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.




----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2007-07-28 13:41

Message:
Logged In: YES 
user_id=21627
Originator: NO

Thanks for the patch. Committed as r56603

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1762412&group_id=5470


More information about the Patches mailing list