<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/tests/utils_tests/test_numberformat.py, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2022-09-12T11:02:50Z</updated>
<entry>
<title>Refs #34000 -- Optimized handling None values in numberformat.format().</title>
<updated>2022-09-12T11:02:50Z</updated>
<author>
<name>Jimmy Angelakos</name>
<email>vyruss@hellug.gr</email>
</author>
<published>2022-09-12T10:59:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=07ebef566f751e172e266165071081c7614e2d33'/>
<id>urn:sha1:07ebef566f751e172e266165071081c7614e2d33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #34000 -- Fixed numberformat.format() crash on empty strings.</title>
<updated>2022-09-12T10:54:12Z</updated>
<author>
<name>Jimmy Angelakos</name>
<email>vyruss@hellug.gr</email>
</author>
<published>2022-09-10T13:04:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e911e0996f1096cc23ef03b1ca70da7499dd8f2f'/>
<id>urn:sha1:e911e0996f1096cc23ef03b1ca70da7499dd8f2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refs #33476 -- Reformatted code with Black.</title>
<updated>2022-02-07T19:37:05Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2022-02-03T19:24:19Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9c19aff7c7561e3a82978a272ecdaad40dda5c00'/>
<id>urn:sha1:9c19aff7c7561e3a82978a272ecdaad40dda5c00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #32873 -- Deprecated settings.USE_L10N.</title>
<updated>2021-09-14T10:05:43Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2021-09-09T05:42:05Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=676bd084f2509f4201561d5c77ed4ecbd157bfa0'/>
<id>urn:sha1:676bd084f2509f4201561d5c77ed4ecbd157bfa0</id>
<content type='text'>
Co-authored-by: Mariusz Felisiak &lt;felisiak.mariusz@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #28280 -- Prevented numberformat.format() from formatting large/tiny floats in scientific notation.</title>
<updated>2020-02-26T15:02:53Z</updated>
<author>
<name>Hasan Ramezani</name>
<email>hasan.r67@gmail.com</email>
</author>
<published>2020-02-23T13:37:02Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=bc1c03407649a37a8a3c26b8d0cb355ab2fc128e'/>
<id>urn:sha1:bc1c03407649a37a8a3c26b8d0cb355ab2fc128e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed typos in comments and a test name.</title>
<updated>2019-07-19T16:24:06Z</updated>
<author>
<name>Min ho Kim</name>
<email>minho42@gmail.com</email>
</author>
<published>2019-07-19T14:45:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9f11939dd1477981da2f3a5487d80101faa21230'/>
<id>urn:sha1:9f11939dd1477981da2f3a5487d80101faa21230</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #30363 -- Do not use exponential notation for small decimal numbers.</title>
<updated>2019-04-13T12:30:33Z</updated>
<author>
<name>Sjoerd Job Postmus</name>
<email>sjoerdjob@sjec.nl</email>
</author>
<published>2019-04-13T10:11:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=e6d57c4d652f16ac8f8d4600c0b7c30fcfcde6c2'/>
<id>urn:sha1:e6d57c4d652f16ac8f8d4600c0b7c30fcfcde6c2</id>
<content type='text'>
In 9cc6a60040b0f64f8ea066dd215176d4bd16621d a security patch was
introduced to prevent allocating large segments of memory when a
very large or very small decimal number was to be formatted.

As a side-effect, there was a change in formatting of small decimal
numbers even when the `decimal_pos` argument was provided, which meant
that reasonable small decimal numbers (above 1e-199) would be formatted
as `0.00`, while smaller decimal numbers (under 1e-200) would be
formatted as `1e-200`.
</content>
</entry>
<entry>
<title>Fixed CVE-2019-6975 -- Fixed memory exhaustion in utils.numberformat.format().</title>
<updated>2019-02-11T10:08:45Z</updated>
<author>
<name>Carlton Gibson</name>
<email>carlton.gibson@noumenal.es</email>
</author>
<published>2019-02-11T10:08:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=402c0caa851e265410fbcaa55318f22d2bf22ee2'/>
<id>urn:sha1:402c0caa851e265410fbcaa55318f22d2bf22ee2</id>
<content type='text'>
Thanks Sjoerd Job Postmus for the report and initial patch.
Thanks Michael Manfre, Tim Graham, and Florian Apolloner for review.
</content>
</entry>
<entry>
<title>Fixed #29578 -- Made numberformat.format() honor forced l10n usage.</title>
<updated>2018-07-19T20:44:40Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2018-07-19T20:44:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0adfba968e28cfb4e4d681e658866debbbd68089'/>
<id>urn:sha1:0adfba968e28cfb4e4d681e658866debbbd68089</id>
<content type='text'>
Thanks Sassan Haradji for the report.</content>
</entry>
<entry>
<title>Refs #28280 -- Added more tests for utils.numberformat.format().</title>
<updated>2017-06-29T17:31:41Z</updated>
<author>
<name>Wil Tan</name>
<email>wil@dready.org</email>
</author>
<published>2017-06-13T14:48:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b94d99af5b6692476ad1722682eedbe076985654'/>
<id>urn:sha1:b94d99af5b6692476ad1722682eedbe076985654</id>
<content type='text'>
</content>
</entry>
</feed>
