<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/formatter_unicode.c, branch v3.7.13</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Fix typo in formatter_unicode (GH-16831)</title>
<updated>2019-10-25T17:02:47+00:00</updated>
<author>
<name>Miss Skeleton (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-10-25T17:02:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5207cc0ef0843c18cf3aab6fa918c9492ae4c1de'/>
<id>5207cc0ef0843c18cf3aab6fa918c9492ae4c1de</id>
<content type='text'>
numbers's -&gt; number's
(cherry picked from commit 7320ec05f72fc27b25789fe76f8297644e7e7e0a)

Co-authored-by: Hansraj Das &lt;raj.das.136@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
numbers's -&gt; number's
(cherry picked from commit 7320ec05f72fc27b25789fe76f8297644e7e7e0a)

Co-authored-by: Hansraj Das &lt;raj.das.136@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33954: Fix _PyUnicode_InsertThousandsGrouping() (GH-10623) (GH-10718)</title>
<updated>2018-11-26T13:17:01+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-26T13:17:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6f5fa1b4be735159e964906ab608dc467476e47c'/>
<id>6f5fa1b4be735159e964906ab608dc467476e47c</id>
<content type='text'>
Fix str.format(), float.__format__() and complex.__format__() methods
for non-ASCII decimal point when using the "n" formatter.

Rewrite _PyUnicode_InsertThousandsGrouping(): it now requires
a _PyUnicodeWriter object for the buffer and a Python str object
for digits.

(cherry picked from commit 59423e3ddd736387cef8f7632c71954c1859bed0)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix str.format(), float.__format__() and complex.__format__() methods
for non-ASCII decimal point when using the "n" formatter.

Rewrite _PyUnicode_InsertThousandsGrouping(): it now requires
a _PyUnicodeWriter object for the buffer and a Python str object
for digits.

(cherry picked from commit 59423e3ddd736387cef8f7632c71954c1859bed0)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606) (GH-10619)</title>
<updated>2018-11-20T21:06:21+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-20T21:06:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6eff6b8eecd7a8eccad16419269fa18ec820922e'/>
<id>6eff6b8eecd7a8eccad16419269fa18ec820922e</id>
<content type='text'>
locale.localeconv() now sets temporarily the LC_CTYPE locale to the
LC_MONETARY locale if the two locales are different and monetary
strings are non-ASCII. This temporary change affects other threads.

Changes:

* locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode
  monetary fields.
* Add LocaleInfo.grouping_buffer: copy localeconv() grouping string
  since it can be replaced anytime if a different thread calls
  localeconv().

(cherry picked from commit 02e6bf7f2025cddcbde6432f6b6396198ab313f4)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
locale.localeconv() now sets temporarily the LC_CTYPE locale to the
LC_MONETARY locale if the two locales are different and monetary
strings are non-ASCII. This temporary change affects other threads.

Changes:

* locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode
  monetary fields.
* Add LocaleInfo.grouping_buffer: copy localeconv() grouping string
  since it can be replaced anytime if a different thread calls
  localeconv().

(cherry picked from commit 02e6bf7f2025cddcbde6432f6b6396198ab313f4)</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-34868: Improve error message with '_' is combined with an invalid type specifier. (GH-9666)</title>
<updated>2018-10-02T05:12:02+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-02T05:12:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cd4dd9374d0fc65b070a61871801d306090f8375'/>
<id>cd4dd9374d0fc65b070a61871801d306090f8375</id>
<content type='text'>
(cherry picked from commit cbda8fc5d76b10bcbb92d927537576c229143836)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit cbda8fc5d76b10bcbb92d927537576c229143836)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31900: Fix localeconv() encoding for LC_NUMERIC (#4174)</title>
<updated>2018-01-15T14:58:02+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2018-01-15T14:58:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cb064fc2321ce8673fe365e9ef60445a27657f54'/>
<id>cb064fc2321ce8673fe365e9ef60445a27657f54</id>
<content type='text'>
* Add _Py_GetLocaleconvNumeric() function: decode decimal_point and
  thousands_sep fields of localeconv() from the LC_NUMERIC encoding,
  rather than decoding from the LC_CTYPE encoding.
* Modify locale.localeconv() and "n" formatter of str.format() (for
  int, float and complex to use _Py_GetLocaleconvNumeric()
  internally.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add _Py_GetLocaleconvNumeric() function: decode decimal_point and
  thousands_sep fields of localeconv() from the LC_NUMERIC encoding,
  rather than decoding from the LC_CTYPE encoding.
* Modify locale.localeconv() and "n" formatter of str.format() (for
  int, float and complex to use _Py_GetLocaleconvNumeric()
  internally.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4002)</title>
<updated>2017-10-15T03:41:13+00:00</updated>
<author>
<name>Dargor</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2017-10-15T03:41:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=28773ca7a7aa58a28e42a9eb0066acf71b5a8dc4'/>
<id>28773ca7a7aa58a28e42a9eb0066acf71b5a8dc4</id>
<content type='text'>
Patch by Pablo.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Pablo.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-31338 (#3374)</title>
<updated>2017-09-15T01:13:16+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>2017-09-15T01:13:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b2e5794870eb4728ddfaafc0f79a40299576434f'/>
<id>b2e5794870eb4728ddfaafc0f79a40299576434f</id>
<content type='text'>
* Add Py_UNREACHABLE() as an alias to abort().
* Use Py_UNREACHABLE() instead of assert(0)
* Convert more unreachable code to use Py_UNREACHABLE()
* Document Py_UNREACHABLE() and a few other macros.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add Py_UNREACHABLE() as an alias to abort().
* Use Py_UNREACHABLE() instead of assert(0)
* Convert more unreachable code to use Py_UNREACHABLE()
* Document Py_UNREACHABLE() and a few other macros.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (#3157)</title>
<updated>2017-08-21T11:09:59+00:00</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2017-08-21T11:09:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f432a3234f9f2ee09bd40be03e06bf72865ee375'/>
<id>f432a3234f9f2ee09bd40be03e06bf72865ee375</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merge 3.5 (#28119)</title>
<updated>2016-09-14T05:46:15+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-14T05:46:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=995026a8a97b49c3fa3d7d4abce14455347e42a9'/>
<id>995026a8a97b49c3fa3d7d4abce14455347e42a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>improve type-safe of and prevent double-frees in get_locale_info (#28119)</title>
<updated>2016-09-14T05:43:45+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2016-09-14T05:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=59e5e0dca2af635ebe0098ef8c2673664e2bde59'/>
<id>59e5e0dca2af635ebe0098ef8c2673664e2bde59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
