<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringlib/localeutil.h, branch v2.7a3</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/localeutil.h?h=v2.7a3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib/localeutil.h?h=v2.7a3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2009-04-22T13:29:05Z</updated>
<entry>
<title>Backport of some of the work in r71665 to trunk. This reworks much of</title>
<updated>2009-04-22T13:29:05Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2009-04-22T13:29:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aca19e6a740c424aec243a4721b18d12e9129aa7'/>
<id>urn:sha1:aca19e6a740c424aec243a4721b18d12e9129aa7</id>
<content type='text'>
int, long, and float __format__(), and it keeps their implementation
in sync with py3k.

Also added PyOS_double_to_string. This is the "fallback" version
that's also available in trunk, and should be kept in sync with that
code. I'll add an issue to document PyOS_double_to_string in the C
API.

There are many internal cleanups. Externally visible changes include:

- Implement PEP 378, Format Specifier for Thousands Separator, for
  floats, ints, and longs.

- Issue #5515: 'n' formatting for ints, longs, and floats handles
  leading zero formatting poorly.

- Issue #5772: For float.__format__, don't add a trailing ".0" if
  we're using no type code and we have an exponent.
</content>
</entry>
<entry>
<title>Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in anticipation of fixing issue 3140.</title>
<updated>2008-06-24T00:42:10Z</updated>
<author>
<name>Eric Smith</name>
<email>eric@trueblade.com</email>
</author>
<published>2008-06-24T00:42:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=65fe47b9319e20cebf02d34f8abdbcda96d2fa22'/>
<id>urn:sha1:65fe47b9319e20cebf02d34f8abdbcda96d2fa22</id>
<content type='text'>
</content>
</entry>
<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>
</feed>
