A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/django/django/commit/392e040647403fc8007708d52ce01d915b014849 below:

[2.0.x] Fixed #30177 -- Fixed format_number() crash with over 200 dig… · django/django@392e040 · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+15

-1

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+15

-1

lines changed Original file line number Diff line number Diff line change

@@ -36,7 +36,7 @@ def format(number, decimal_sep, decimal_pos=None, grouping=0, thousand_sep='',

36 36

# Format the coefficient.

37 37

coefficient = format(

38 38

coefficient, decimal_sep, decimal_pos, grouping,

39 -

thousand_sep, force_grouping, use_l10n,

39 +

thousand_sep, force_grouping,

40 40

)

41 41

return '{}e{}'.format(coefficient, exponent)

42 42

else:

Original file line number Diff line number Diff line change

@@ -0,0 +1,13 @@

1 +

===========================

2 +

Django 2.0.13 release notes

3 +

===========================

4 + 5 +

*February 12, 2019*

6 + 7 +

Django 2.0.13 fixes a regression in 2.0.12/2.0.11.

8 + 9 +

Bugfixes

10 +

========

11 + 12 +

* Fixed crash in ``django.utils.numberformat.format_number()`` when the number

13 +

has over 200 digits (:ticket:`30177`).

Original file line number Diff line number Diff line change

@@ -25,6 +25,7 @@ versions of the documentation contain the release notes for any later releases.

25 25

.. toctree::

26 26

:maxdepth: 1

27 27 28 +

2.0.13

28 29

2.0.12

29 30

2.0.11

30 31

2.0.10

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4