[Django] #30177: format_number() crashes when the number has over 200 digits

28 views
Skip to first unread message

Django

unread,
Feb 11, 2019, 1:36:42 PM2/11/19
to django-...@googlegroups.com
#30177: format_number() crashes when the number has over 200 digits
--------------------------------------+------------------------
Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: 2.0
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
Only Django 2.0.x is affected. The incorrect patch was applied in
1f42f82566c9d2d73aff1c42790d6b1b243f7676. `use_l10n` is undefined.

--
Ticket URL: <https://code.djangoproject.com/ticket/30177>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Feb 11, 2019, 1:50:05 PM2/11/19
to django-...@googlegroups.com
#30177: format_number() crashes when the number has over 200 digits
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: 2.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
Changes (by Tim Graham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/10979 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/30177#comment:1>

Django

unread,
Feb 11, 2019, 3:44:45 PM2/11/19
to django-...@googlegroups.com
#30177: format_number() crashes when the number has over 200 digits
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed
* resolution: => fixed


Comment:

In [changeset:"392e040647403fc8007708d52ce01d915b014849" 392e0406]:
{{{
#!CommitTicketReference repository=""
revision="392e040647403fc8007708d52ce01d915b014849"
[2.0.x] Fixed #30177 -- Fixed format_number() crash with over 200 digits.

There are existing test failures. The incorrect patch was applied
in 1f42f82566c9d2d73aff1c42790d6b1b243f7676.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30177#comment:2>

Django

unread,
Feb 11, 2019, 3:52:37 PM2/11/19
to django-...@googlegroups.com
#30177: format_number() crashes when the number has over 200 digits
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"1b8f552b08eb7642be598ba7512e7eaecefbdc6d" 1b8f552]:
{{{
#!CommitTicketReference repository=""
revision="1b8f552b08eb7642be598ba7512e7eaecefbdc6d"
Refs #30177 -- Forwardported 2.0.13 release notes.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30177#comment:3>

Django

unread,
Feb 11, 2019, 3:52:54 PM2/11/19
to django-...@googlegroups.com
#30177: format_number() crashes when the number has over 200 digits
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"f548ac7fa546557f558a445e7823adf01b649395" f548ac7]:
{{{
#!CommitTicketReference repository=""
revision="f548ac7fa546557f558a445e7823adf01b649395"
[2.2.x] Refs #30177 -- Forwardported 2.0.13 release notes.

Backport of 1b8f552b08eb7642be598ba7512e7eaecefbdc6d from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30177#comment:4>

Django

unread,
Feb 11, 2019, 3:55:57 PM2/11/19
to django-...@googlegroups.com
#30177: format_number() crashes when the number has over 200 digits
----------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 2.0
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"5c2b94af2a5dcbce5a88c47b808f5f58bfb7b160" 5c2b94a]:
{{{
#!CommitTicketReference repository=""
revision="5c2b94af2a5dcbce5a88c47b808f5f58bfb7b160"
[2.1.x] Refs #30177 -- Forwardported 2.0.13 release notes.

Backport of 1b8f552b08eb7642be598ba7512e7eaecefbdc6d from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/30177#comment:5>

Reply all
Reply to author
Forward
0 new messages