#20648: Template variable and loss of precision
---------------------------------+------------------------------------
Reporter: maciag.artur@… | Owner: nobody
Type: Bug | Status: new
Component: Template system | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Comment (by Min ho Kim):
This issue seemed to be resolved already (at least master and 2.2.4).
I don't see any difference from the initial example code.
{{{
>>> from django.template import Variable
>>> Variable(str(2**53)).resolve(None) == 2**53
True
>>> Variable(str(2**53+1)).resolve(None) == 2**53+1
True
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/20648#comment:4>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/080.c02ca4892367c167b8c9a1ed99b23e62%40djangoproject.com.