<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_unicode.py, branch v2.4a2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_unicode.py?h=v2.4a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_unicode.py?h=v2.4a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-08-04T07:38:35Z</updated>
<entry>
<title>SF #989185: Drop unicode.iswide() and unicode.width() and add</title>
<updated>2004-08-04T07:38:35Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2004-08-04T07:38:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e9ddfbb41207328d5c89061067f3431e00711fda'/>
<id>urn:sha1:e9ddfbb41207328d5c89061067f3431e00711fda</id>
<content type='text'>
unicodedata.east_asian_width().  You can still implement your own
simple width() function using it like this:
    def width(u):
        w = 0
        for c in unicodedata.normalize('NFC', u):
            cwidth = unicodedata.east_asian_width(c)
            if cwidth in ('W', 'F'): w += 2
            else: w += 1
        return w
</content>
</entry>
<entry>
<title>Let u'%s' % obj try obj.__unicode__() first and fallback to obj.__str__().</title>
<updated>2004-07-23T16:13:25Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2004-07-23T16:13:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d25c650461b6010ad66768e4495e780683745ced'/>
<id>urn:sha1:d25c650461b6010ad66768e4495e780683745ced</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reuse width/iswide tests from strings_test. (Suggested by Walter DÃ¶rwald)</title>
<updated>2004-06-04T04:24:54Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2004-06-04T04:24:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3c145449daa8356c6ae4c296ffb24b5214647442'/>
<id>urn:sha1:3c145449daa8356c6ae4c296ffb24b5214647442</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo.</title>
<updated>2004-06-04T03:19:17Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2004-06-04T03:19:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7bd860655f8343fe02439a457bc59f7cd7d9eda8'/>
<id>urn:sha1:7bd860655f8343fe02439a457bc59f7cd7d9eda8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- SF #962502: Add two more methods for unicode type; width() and</title>
<updated>2004-06-02T16:49:17Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2004-06-02T16:49:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=974ed7cfa50b666c9ab91f7a3f8f26049d387107'/>
<id>urn:sha1:974ed7cfa50b666c9ab91f7a3f8f26049d387107</id>
<content type='text'>
iswide() for east asian width manipulation. (Inspired by David
Goodger, Reviewed by Martin v. Loewis)
- Move _PyUnicode_TypeRecord.flags to the end of the struct so that
no padding is added for UCS-4 builds. (Suggested by Martin v. Loewis)
</content>
</entry>
<entry>
<title>Fix reallocation bug in unicode.translate(): The code was comparing</title>
<updated>2004-02-05T17:36:00Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-02-05T17:36:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cd736e71a3d35d870c2ff89b90a39050553a2453'/>
<id>urn:sha1:cd736e71a3d35d870c2ff89b90a39050553a2453</id>
<content type='text'>
characters instead of character pointers to determine space requirements.
</content>
</entry>
<entry>
<title>Fix for SF bug [ 817156 ] invalid \U escape gives 0=length unistr.</title>
<updated>2003-10-06T05:08:26Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-10-06T05:08:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=504de6bd2c3a0b717e1192eac2435808ab971c5a'/>
<id>urn:sha1:504de6bd2c3a0b717e1192eac2435808ab971c5a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Support trailing dots in DNS names. Fixes #782510. Will backport to 2.3.</title>
<updated>2003-08-05T06:19:47Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-08-05T06:19:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0d8e16c7adb3ac57d74e86bcf2311215ced1d034'/>
<id>urn:sha1:0d8e16c7adb3ac57d74e86bcf2311215ced1d034</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Consider \U-escapes in raw-unicode-escape. Fixes #444514.</title>
<updated>2003-05-18T12:31:09Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-05-18T12:31:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a3a9f779142d92655f86eaf9584ce946c61dfea'/>
<id>urn:sha1:9a3a9f779142d92655f86eaf9584ce946c61dfea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Combine the functionality of test_support.run_unittest()</title>
<updated>2003-05-01T17:45:56Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-01T17:45:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=21d3a32b99c5763444c34c189ef653ac9745f3c4'/>
<id>urn:sha1:21d3a32b99c5763444c34c189ef653ac9745f3c4</id>
<content type='text'>
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
</content>
</entry>
</feed>
