<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_unicode.py, branch v2.7a4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_unicode.py?h=v2.7a4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_unicode.py?h=v2.7a4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2010-02-23T23:16:07Z</updated>
<entry>
<title>Issue #7649: Fix u'%c' % char for character in range 0x80..0xFF</title>
<updated>2010-02-23T23:16:07Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@haypocalc.com</email>
</author>
<published>2010-02-23T23:16:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f20f9c299ee093fd67c5b3caf0b5013af71c3136'/>
<id>urn:sha1:f20f9c299ee093fd67c5b3caf0b5013af71c3136</id>
<content type='text'>
=&gt; raise an UnicodeDecodeError. Patch written by Ezio Melotti.
</content>
</entry>
<entry>
<title>use assert[Not]In where appropriate</title>
<updated>2010-01-23T23:04:36Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2010-01-23T23:04:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aa98058cc44ba20f35c106d20918c6196b737561'/>
<id>urn:sha1:aa98058cc44ba20f35c106d20918c6196b737561</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #7462: Implement the stringlib fast search algorithm for the `rfind`,</title>
<updated>2010-01-02T21:12:58Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-01-02T21:12:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b7139aab41becad7ad736bd9ff2332960bf67f9'/>
<id>urn:sha1:5b7139aab41becad7ad736bd9ff2332960bf67f9</id>
<content type='text'>
`rindex`, `rsplit` and `rpartition` methods.  Patch by Florent Xicluna.
</content>
</entry>
<entry>
<title>Issue #1680159: unicode coercion during an 'in' operation was masking</title>
<updated>2009-12-14T16:28:26Z</updated>
<author>
<name>R. David Murray</name>
<email>rdmurray@bitdance.com</email>
</author>
<published>2009-12-14T16:28:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a0a1a842c02c87fcb052dec226f591cfe6f988f'/>
<id>urn:sha1:0a0a1a842c02c87fcb052dec226f591cfe6f988f</id>
<content type='text'>
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context.  This patch lets any errors through, as was already
done during coercion of the right hand side.
</content>
</entry>
<entry>
<title>add keyword arguments support to str/unicode encode and decode #6300</title>
<updated>2009-09-18T21:14:55Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-09-18T21:14:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=332d7217509443c01ba5c3da41053786b49015fa'/>
<id>urn:sha1:332d7217509443c01ba5c3da41053786b49015fa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>convert usage of fail* to assert*</title>
<updated>2009-06-30T22:57:08Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2009-06-30T22:57:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e'/>
<id>urn:sha1:5c8da86f3a515ce1a6d5f27fd15e3c5f4d8e931e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 6089: str.format raises SystemError.</title>
<updated>2009-05-23T13:56:13Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2009-05-23T13:56:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b94b192ff38f37b99f04605fd6515d7fb97ffea'/>
<id>urn:sha1:4b94b192ff38f37b99f04605fd6515d7fb97ffea</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.</title>
<updated>2009-05-04T18:32:32Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2009-05-04T18:32:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=653dece278ca0e836651de290aaf22335dd476b0'/>
<id>urn:sha1:653dece278ca0e836651de290aaf22335dd476b0</id>
<content type='text'>
Patch by Nick Barnes and Victor Stinner.
</content>
</entry>
<entry>
<title>Unicode format tests weren't actually testing unicode. This was probably due to the original backport from py3k.</title>
<updated>2009-03-14T14:37:38Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2009-03-14T14:37:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ace4cf813a13f1be8466d48f280ffd0bbe0f5a4'/>
<id>urn:sha1:2ace4cf813a13f1be8466d48f280ffd0bbe0f5a4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue 5237, Allow auto-numbered replacement fields in str.format() strings.</title>
<updated>2009-03-14T11:57:26Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2009-03-14T11:57:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f42edb6821462c9ce02c6c4e2f57731b43956ad'/>
<id>urn:sha1:6f42edb6821462c9ce02c6c4e2f57731b43956ad</id>
<content type='text'>
For simple uses for str.format(), this makes the typing easier. Hopfully this
will help in the adoption of str.format().

For example:
'The {} is {}'.format('sky', 'blue')

You can mix and matcth auto-numbering and named replacement fields:
'The {} is {color}'.format('sky', color='blue')

But you can't mix and match auto-numbering and specified numbering:
'The {0} is {}'.format('sky', 'blue')
ValueError: cannot switch from manual field specification to automatic field numbering

Will port to 3.1.
</content>
</entry>
</feed>
