<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_unicode.py, branch v3.0a2</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=v3.0a2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_unicode.py?h=v3.0a2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2007-12-04T23:02:19Z</updated>
<entry>
<title>Removed PyInt_GetMax and sys.maxint</title>
<updated>2007-12-04T23:02:19Z</updated>
<author>
<name>Christian Heimes</name>
<email>christian@cheimes.de</email>
</author>
<published>2007-12-04T23:02:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a37d4c693a024154093b36a612810c3bd72d9254'/>
<id>urn:sha1:a37d4c693a024154093b36a612810c3bd72d9254</id>
<content type='text'>
I replaced sys.maxint with sys.maxsize in Lib/*.py. Does anybody see a problem with the change on Win 64bit platforms? Win 64's long is just 32bit but the sys.maxsize is now 2**63-1 on every 64bit platform.
Also added docs for sys.maxsize.
</content>
</entry>
<entry>
<title>#1496: revert str.translate() to the old version, and add</title>
<updated>2007-11-27T23:48:05Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-11-27T23:48:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ceee0773d262bfe876e40da927b03279ed9f8419'/>
<id>urn:sha1:ceee0773d262bfe876e40da927b03279ed9f8419</id>
<content type='text'>
str.maketrans() to make a table in a more comfortable way.
</content>
</entry>
<entry>
<title>Rename buffer -&gt; bytearray.</title>
<updated>2007-11-21T19:29:53Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-11-21T19:29:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=254348e201647ad9d264de2cc0fde031e8214719'/>
<id>urn:sha1:254348e201647ad9d264de2cc0fde031e8214719</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merging the py3k-pep3137 branch back into the py3k branch.</title>
<updated>2007-11-06T21:34:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-11-06T21:34:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=98297ee7815939b124156e438b22bd652d67b5db'/>
<id>urn:sha1:98297ee7815939b124156e438b22bd652d67b5db</id>
<content type='text'>
No detailed change log; just check out the change log for the py3k-pep3137
branch.  The most obvious changes:

  - str8 renamed to bytes (PyString at the C level);
  - bytes renamed to buffer (PyBytes at the C level);
  - PyString and PyUnicode are no longer compatible.

I.e. we now have an immutable bytes type and a mutable bytes type.

The behavior of PyString was modified quite a bit, to make it more
bytes-like.  Some changes are still on the to-do list.
</content>
</entry>
<entry>
<title>Patch #1303: Adapt str8 constructor to bytes (now buffer) one.</title>
<updated>2007-10-24T18:55:37Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-10-24T18:55:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bd1c68c94f0d5bc25b48f62c7527f51c754f2b6b'/>
<id>urn:sha1:bd1c68c94f0d5bc25b48f62c7527f51c754f2b6b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #1071: Improve unicode.translate() so that you can pass unicode</title>
<updated>2007-10-23T06:52:59Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2007-10-23T06:52:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=94c2c75b5eda49ccbb01778f9ab188fc1dbc1ca2'/>
<id>urn:sha1:94c2c75b5eda49ccbb01778f9ab188fc1dbc1ca2</id>
<content type='text'>
characters as mapping keys and invalid mapping keys are recognized
and raise an error.
</content>
</entry>
<entry>
<title>Make str/str8 comparisons return True/False for !=/==.</title>
<updated>2007-10-22T20:24:51Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2007-10-22T20:24:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4043001f5d84d4919781e34221449047d0690ac8'/>
<id>urn:sha1:4043001f5d84d4919781e34221449047d0690ac8</id>
<content type='text'>
Code that has been returning str8 becomes much more apparent thanks to this
(e.g., struct module returning str8 for all string-related formats or sqlite3
passing in str8 instances when converting objects that had a __conform__
method).  One also has to watch out in C code when making a key from char *
using PyString in the C code but a str instance in Python code as that will not
longer compare equal.

Once str8 gains a constructor like the current bytes type then
test_modulefinder needs a cleanup as the fix is a little messy in that file.

Thanks goes to Thomas Lee for writing the patch for the change giving an
initial run-down of why most of the tests were failing.
</content>
</entry>
<entry>
<title>Breaking ground for PEP 3137 implementation:</title>
<updated>2007-10-08T02:46:15Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-10-08T02:46:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bae07c9baf3e53164de6f85a18ce747a76b9ffde'/>
<id>urn:sha1:bae07c9baf3e53164de6f85a18ce747a76b9ffde</id>
<content type='text'>
Get rid of buffer().  Use memoryview() in its place where possible.
In a few places, do things a bit different, because memoryview()
can't slice (yet).
</content>
</entry>
<entry>
<title>Patch # 1145 by Thomas Lee:</title>
<updated>2007-09-27T18:01:22Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2007-09-27T18:01:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f1044293fa36667b5ba11fbc7acac21a03b82710'/>
<id>urn:sha1:f1044293fa36667b5ba11fbc7acac21a03b82710</id>
<content type='text'>
str.join(...) now applies str() to the sequence elements if they're
not strings alraedy, except for bytes, which still raise TypeError
(for the same reasons why ""==b"" raises it).
</content>
</entry>
<entry>
<title>Changed some ValueError's to KeyError and IndexError.</title>
<updated>2007-09-04T23:04:22Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2007-09-04T23:04:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=11529195cae2438a3ac003babcb1b11af67c4037'/>
<id>urn:sha1:11529195cae2438a3ac003babcb1b11af67c4037</id>
<content type='text'>
Corrected code for invalid conversion specifier.
Added tests to verify.

Modified string.Formatter to correctly expand format_spec's,
and added a limit to recursion depth.  Added _vformat()
method to support both of these.
</content>
</entry>
</feed>
