From: <pj...@us...> - 2008-10-11 23:17:03
|
Revision: 5375 http://jython.svn.sourceforge.net/jython/?rev=5375&view=rev Author: pjenvey Date: 2008-10-11 23:16:54 +0000 (Sat, 11 Oct 2008) Log Message: ----------- fix unicodedata.lookup to return unicode instead of the codepoint int Modified Paths: -------------- trunk/jython/Lib/unicodedata.py Modified: trunk/jython/Lib/unicodedata.py =================================================================== --- trunk/jython/Lib/unicodedata.py 2008-10-11 21:29:29 UTC (rev 5374) +++ trunk/jython/Lib/unicodedata.py 2008-10-11 23:16:54 UTC (rev 5375) @@ -56,7 +56,7 @@ elif name.find('Last') >= 0: _segments.append((start, (start, codepoint), data)) else: - _names[name] = codepoint + _names[name] = unichr(codepoint) _codepoints[codepoint] = data def init_east_asian_width(path): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |