From: SourceForge.net <no...@so...> - 2007-03-16 00:05:11
|
Patches item #1681774, was opened at 2007-03-16 00:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1681774&group_id=12867 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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Philip Jenvey (pjenvey) Assigned to: Nobody/Anonymous (nobody) Summary: str.decode, unicode.encode and str(u'') fixes Initial Comment: This patch fixes: o update str and unicode gexpose definitions for str.decode to return a unicode (instead of str) and unicode.encode to return a str (instead of unicode) o overload PyString's __str__() method in PyUnicode to return a PyString instead of PyUnicode. Fixes str(u"") to return a str instead of unicode I've also added/uncommented out a couple tests to exercise these changes The patch is against r3142 of the 2.3 branch. This should probably be merged over to 2.2 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1681774&group_id=12867 |