Patches item #1769016, was opened at 2007-08-07 17:11
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=1769016&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: Macintosh
Group: Python 3000
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: brotchie (brotch)
Assigned to: Jack Jansen (jackjansen)
Summary: Fix for failing test_plistlib in py3k-struni

Initial Comment:
changes to plistlib.py:
- expat expects bytes so changed from using cStringIO to io.BytesIO
- renamed readPlistFromString, writePlistToString -> readPlistFromBytes, 
writePlistToBytes to reflect the change to BytesIO
- plistlib.Data now excepts and wraps a bytes object

changes to test_plistlib.py:
- transitioned To/FromString calls to To/FromBytes
- removed StringIO and cStringIO specific tests and replaced with an equivalent 
BytesIO test

test_plistlib.py now passes, tested on OSX Tiger 10.4.10.


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1769016&group_id=5470
_______________________________________________
Patches mailing list
Patches@python.org
http://mail.python.org/mailman/listinfo/patches

Reply via email to