Patches item #1769016, was opened at 2007-08-07 03:11 Message generated for change (Comment added) made by gvanrossum 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: Closed >Resolution: Accepted Priority: 5 Private: No Submitted By: brotchie (brotch) >Assigned to: Guido van Rossum (gvanrossum) 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. ---------------------------------------------------------------------- >Comment By: Guido van Rossum (gvanrossum) Date: 2007-08-07 10:27 Message: Logged In: YES user_id=6380 Originator: NO Thanks! Committed revision 56800. ---------------------------------------------------------------------- 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