<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringlib/unicodedefs.h, branch v2.6.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/Objects/stringlib/unicodedefs.h?h=v2.6.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/unicodedefs.h?h=v2.6.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-05-11T19:52:48Z</updated>
<entry>
<title>Addresses issue 2802: 'n' formatting for integers.</title>
<updated>2008-05-11T19:52:48Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2008-05-11T19:52:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cf537ff39ea1a518e937ee607bce816e8f3f41b6'/>
<id>urn:sha1:cf537ff39ea1a518e937ee607bce816e8f3f41b6</id>
<content type='text'>
Adds 'n' as a format specifier for integers, to mirror the same
specifier which is already available for floats.  'n' is the same as
'd', but inserts the current locale-specific thousands grouping.

I added this as a stringlib function, but it's only used by str type,
not unicode.  This is because of an implementation detail in
unicode.format(), which does its own str-&gt;unicode conversion.  But the
unicode version will be needed in 3.0, and it may be needed by other
code eventually in 2.6 (maybe decimal?), so I left it as a stringlib
implementation.  As long as the unicode version isn't instantiated,
there's no overhead for this.
</content>
</entry>
<entry>
<title>Backport of PEP 3101, Advanced String Formatting, from py3k.</title>
<updated>2008-02-17T19:46:49Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2008-02-17T19:46:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a9f7d6248032c9572b4d2024a1be8bd2823af09f'/>
<id>urn:sha1:a9f7d6248032c9572b4d2024a1be8bd2823af09f</id>
<content type='text'>
Highlights:
 - Adding PyObject_Format.
 - Adding string.Format class.
 - Adding __format__ for str, unicode, int, long, float, datetime.
 - Adding builtin format.
 - Adding ''.format and u''.format.
 - str/unicode fixups for formatters.

The files in Objects/stringlib that implement PEP 3101 (stringdefs.h,
unicodedefs.h, formatter.h, string_format.h) are identical in trunk
and py3k.  Any changes from here on should be made to trunk, and
changes will propogate to py3k).
</content>
</entry>
</feed>
