<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_unicode.py, branch 2.2</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=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_unicode.py?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2002-11-07T00:23:38Z</updated>
<entry>
<title>Backport 1.72:</title>
<updated>2002-11-07T00:23:38Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-11-07T00:23:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a715d8f159d563831c1f93731a147779e51ced6e'/>
<id>urn:sha1:a715d8f159d563831c1f93731a147779e51ced6e</id>
<content type='text'>
Fix for bug #626172:  crash using unicode latin1 single char
</content>
</entry>
<entry>
<title>Backport:</title>
<updated>2002-10-07T12:32:57Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-10-07T12:32:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d1bb75505fbb5b47f4f3d420e00964b38c24b203'/>
<id>urn:sha1:d1bb75505fbb5b47f4f3d420e00964b38c24b203</id>
<content type='text'>
2002/08/11 12:23:04 lemburg Python/bltinmodule.c 2.262
2002/08/11 12:23:04 lemburg Objects/unicodeobject.c 2.162
2002/08/11 12:23:03 lemburg Misc/NEWS 1.461
2002/08/11 12:23:03 lemburg Lib/test/test_unicode.py 1.65
2002/08/11 12:23:03 lemburg Include/unicodeobject.h 2.39
Add C API PyUnicode_FromOrdinal() which exposes unichr() at C level.

u'%c' will now raise a ValueError in case the argument is an
integer outside the valid range of Unicode code point ordinals.

Closes SF bug #593581.
</content>
</entry>
<entry>
<title>Backport the UTF-8 codec from 2.3 and add a work-around to let the</title>
<updated>2002-09-24T14:06:55Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2002-09-24T14:06:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1e616dcafbf75906da2a1fc2d6415b7071bdda93'/>
<id>urn:sha1:1e616dcafbf75906da2a1fc2d6415b7071bdda93</id>
<content type='text'>
UTF-8 decoder accept broken UTF-8 sequences which encode lone
high surrogates (the pre-2.2.2 versions forgot to generate the
UTF-8 prefix \xed for these).

Fixes SF bug #610783: Lone surrogates cause bad .pyc files.
</content>
</entry>
<entry>
<title>Backport 1.56 and 1.68 from trunk:</title>
<updated>2002-09-23T20:49:43Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-09-23T20:49:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a9858559d682804186cafae63af397b2b34f77fe'/>
<id>urn:sha1:a9858559d682804186cafae63af397b2b34f77fe</id>
<content type='text'>
1.56:
Apply diff3.txt from SF patch http://www.python.org/sf/536241

If a str or unicode method returns the original object,
make sure that for str and unicode subclasses the original
will not be returned.

This should prevent SF bug http://www.python.org/sf/460020
from reappearing.

1.68:
Fix SF bug 599128, submitted by Inyeol Lee: .replace() would do the
wrong thing for a unicode subclass when there were zero string
replacements.  The example given in the SF bug report was only one way
to trigger this; replacing a string of length &gt;= 2 that's not found is
another.  The code would actually write outside allocated memory if
replacement string was longer than the search string.
</content>
</entry>
<entry>
<title>Fix some endcase bugs in unicode rfind()/rindex() and endswith().</title>
<updated>2002-08-20T16:57:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-08-20T16:57:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96303ce055e0bdc1b5f53f38bd424e747e289621'/>
<id>urn:sha1:96303ce055e0bdc1b5f53f38bd424e747e289621</id>
<content type='text'>
These were reported and fixed by Inyeol Lee in SF bug 595350.  The
endswith() bug is already fixed in 2.3; I'll fix the others in
2.3 next.
</content>
</entry>
<entry>
<title>Backport checkin:</title>
<updated>2002-04-22T18:42:45Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2002-04-22T18:42:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aa82bc0817eaebd31ddf00b4fc31eca2db2b7333'/>
<id>urn:sha1:aa82bc0817eaebd31ddf00b4fc31eca2db2b7333</id>
<content type='text'>
Apply patch diff.txt from SF feature request
http://www.python.org/sf/444708

This adds the optional argument for str.strip
to unicode.strip too and makes it possible
to call str.strip with a unicode argument
and unicode.strip with a str argument.
</content>
</entry>
<entry>
<title>Backport the following changes:</title>
<updated>2002-04-22T11:57:06Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2002-04-22T11:57:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1c097b7102c6c5a1a03cbb5d36c819eedae60d5a'/>
<id>urn:sha1:1c097b7102c6c5a1a03cbb5d36c819eedae60d5a</id>
<content type='text'>
Misc/NEWS 1.387-&gt;1.388
Lib/test/string_tests.py 1.10-&gt;1.11, 1.12-&gt;1.14,
Lib/test/test_unicode.py 1.50-&gt;1.51, 1.53-&gt;1.54, 1.55-&gt;1.56
Lib/test/test_string.py 1.15-&gt;1.16
Lib/string.py 1.61-&gt;1.63
Lib/test/test_userstring.py 1.5-&gt;1.6, 1.11, 1.12
Objects/stringobject.c 2.156-&gt;2.159
Objects/unicodeobject.c 2.137-&gt;2.139
Doc/lib/libstdtypes.tec 1.87-&gt;1.88

Add a method zfill to str, unicode and UserString
and change Lib/string.py accordingly
(see SF patch http://www.python.org/sf/536241)

This also adds Guido's fix to test_userstring.py
and the subinstance checks in test_string.py
and test_unicode.py.
</content>
</entry>
<entry>
<title>doerwalter's failing examples from</title>
<updated>2002-03-18T12:54:51Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-18T12:54:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=724374d1626ba1ffa300f244ccbdf0052ffd5701'/>
<id>urn:sha1:724374d1626ba1ffa300f244ccbdf0052ffd5701</id>
<content type='text'>
[ 529104 ] broken error handling in unicode-escape
</content>
</entry>
<entry>
<title>Skipping some tests by adding the usual jython conditional test around:</title>
<updated>2001-12-10T20:57:34Z</updated>
<author>
<name>Finn Bock</name>
<email>bckfnn@worldonline.dk</email>
</author>
<published>2001-12-10T20:57:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b29cb2593c2ca96eb4a0b32b1a6167ce5f18b7c'/>
<id>urn:sha1:2b29cb2593c2ca96eb4a0b32b1a6167ce5f18b7c</id>
<content type='text'>
- the repr of unicode. Jython only add the u'' if the string contains char
  values &gt; 255.
- A unicode arg to unicode() is perfectly valid in jython.
- A test buffer() test. No buffer() on Jython

This closes patch "[ #490920 ] Jython and test_unicode".
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2001-12-01T04:11:16Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-12-01T04:11:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=82285dad8e107af5e89ea49ff784978170816a84'/>
<id>urn:sha1:82285dad8e107af5e89ea49ff784978170816a84</id>
<content type='text'>
</content>
</entry>
</feed>
