I can attach the proposed fix here, or open a pull request on GitHub if
you like?
--
Ticket URL: <https://code.djangoproject.com/ticket/34000>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* Attachment "4375ad983f2adbfdd091a1e92a847dd108d04c02.patch" added.
proposed fix patch
* needs_tests: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Please provide a pull request, including a test.
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:1>
* owner: nobody => Bhuvnesh
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:2>
* Attachment "c10cec4352d7cfa7c848f2aaf590e1692e1b92ae.diff" added.
PR diff
--
Ticket URL: <https://code.djangoproject.com/ticket/34000>
Comment (by Jimmy Angelakos):
[https://github.com/django/django/pull/16046 PR]
Regression test added and pull request submitted (attaching as patch).
This is a crashing bug, I wonder if it should be backported?
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:3>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:4>
* owner: Bhuvnesh => (none)
* status: assigned => new
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:5>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:6>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:7>
* cc: Graham Coster (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:8>
* owner: (none) => Jimmy Angelakos
* needs_better_patch: 0 => 1
* status: new => assigned
* stage: Ready for checkin => Accepted
Comment:
> This is a crashing bug, I wonder if it should be backported?
This a long standing issue (Django < 1.11). Per our backporting policy
this means it doesn't qualify for a backport. See
[https://docs.djangoproject.com/en/stable/internals/release-process/
Django’s release process] for more details.
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:9>
* Attachment "c10cec4352d7cfa7c848f2aaf590e1692e1b92ae.diff" added.
updated patch
--
Ticket URL: <https://code.djangoproject.com/ticket/34000>
* Attachment "c10cec4352d7cfa7c848f2aaf590e1692e1b92ae.diff" removed.
PR diff
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:10>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"07ebef566f751e172e266165071081c7614e2d33" 07ebef56]:
{{{
#!CommitTicketReference repository=""
revision="07ebef566f751e172e266165071081c7614e2d33"
Refs #34000 -- Optimized handling None values in numberformat.format().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:12>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"e911e0996f1096cc23ef03b1ca70da7499dd8f2f" e911e09]:
{{{
#!CommitTicketReference repository=""
revision="e911e0996f1096cc23ef03b1ca70da7499dd8f2f"
Fixed #34000 -- Fixed numberformat.format() crash on empty strings.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34000#comment:11>