<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringlib/string_format.h, branch 2.7</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/string_format.h?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/string_format.h?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2016-04-17T06:37:36Z</updated>
<entry>
<title>Issue #26778: Fixed "a/an/and" typos in code comment and documentation.</title>
<updated>2016-04-17T06:37:36Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-04-17T06:37:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f'/>
<id>urn:sha1:9a118f1dc3f23ead28f31fdc5144ad5ce01e5b7f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #14700: Fix buggy overflow checks for large precision and width in new-style and old-style formatting.</title>
<updated>2012-10-28T10:00:46Z</updated>
<author>
<name>Mark Dickinson</name>
<email>mdickinson@enthought.com</email>
</author>
<published>2012-10-28T10:00:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=75d36004665a637c5d0aa868a5d0b728b3d03d39'/>
<id>urn:sha1:75d36004665a637c5d0aa868a5d0b728b3d03d39</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#11515: fix several typos. Patch by Piotr Kasprzyk.</title>
<updated>2011-03-15T16:55:01Z</updated>
<author>
<name>Ezio Melotti</name>
<email>ezio.melotti@gmail.com</email>
</author>
<published>2011-03-15T16:55:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=24b07bcba350bb86c4d6ca446e1564647a199868'/>
<id>urn:sha1:24b07bcba350bb86c4d6ca446e1564647a199868</id>
<content type='text'>
</content>
</entry>
<entry>
<title>correctly overflow when indexes are too large</title>
<updated>2010-06-07T22:23:23Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-06-07T22:23:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=13e934acc0b96a41d101674959b19df2a7a718b4'/>
<id>urn:sha1:13e934acc0b96a41d101674959b19df2a7a718b4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Untabify C files. Will watch buildbots.</title>
<updated>2010-05-09T14:46:46Z</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2010-05-09T14:46:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c83ea137d7e717f764e2f31fc2544f522de7d857'/>
<id>urn:sha1:c83ea137d7e717f764e2f31fc2544f522de7d857</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>#5889: remove comma at the end of a list that some C compilers don't like.</title>
<updated>2009-05-01T08:51:37Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2009-05-01T08:51:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ca87fa5a5b650de2d4b5cb04fb5847cf631e75eb'/>
<id>urn:sha1:ca87fa5a5b650de2d4b5cb04fb5847cf631e75eb</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>
<entry>
<title>Backport of r63826.</title>
<updated>2008-08-18T14:27:38Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2008-08-18T14:27:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5bdccc77b2a0da0b72f4a6ebbc2d9a1a9680dcd'/>
<id>urn:sha1:e5bdccc77b2a0da0b72f4a6ebbc2d9a1a9680dcd</id>
<content type='text'>
Optimization of str.format() for cases with str, unicode, int, long,
and float arguments.  This gives about 30% speed improvement for the
simplest (but most common) cases.  This patch skips the __format__
dispatch, and also avoids creating an object to hold the format_spec.

Unfortunately there's a complication in 2.6 with int, long, and float
because they always expect str format_specs.  So in the unicode
version of this optimization, just check for unicode objects.  int,
float, long, and str can be added later, if needed.
</content>
</entry>
<entry>
<title>This reverts r63675 based on the discussion in this thread:</title>
<updated>2008-06-09T04:58:54Z</updated>
<author>
<name>Gregory P. Smith</name>
<email>greg@mad-scientist.com</email>
</author>
<published>2008-06-09T04:58:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd96db63f689e2f0d8ae5a1436b3b3395eec7de5'/>
<id>urn:sha1:dd96db63f689e2f0d8ae5a1436b3b3395eec7de5</id>
<content type='text'>
 http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase.  The PyBytes_* names
in the spirit of 3.0 are available via a #define only.  See the email thread.
</content>
</entry>
</feed>
