#18800: Template cannot format integers bigger than maximum float
---------------------------------+------------------------------------
     Reporter:  jbvsmo@…         |                    Owner:  nobody
         Type:  Bug              |                   Status:  new
    Component:  Template system  |                  Version:  1.4
     Severity:  Normal           |               Resolution:
     Keywords:  float, long      |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  1                |  Patch needs improvement:  1
Easy pickings:  1                |                    UI/UX:  0
---------------------------------+------------------------------------
Changes (by jwmayfield):

 * needs_better_patch:   => 1
 * stage:  Unreviewed => Accepted
 * easy:  0 => 1
 * needs_tests:   => 1
 * needs_docs:   => 0


Comment:

 I can confirm that passing in a number that's larger than
 sys.float_info.max does cause the django.utils.numberformat.format
 function to throw an exception.  The patch needs to be updated with
 standard relative directory rather than the Windows-based directory that's
 on it now.  Also needs a unit test.

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to