#36030: Expressions that divide an integer field by a constant decimal.Decimal
returns inconsistent decimal places on SQLite
-------------------------------------+-------------------------------------
Reporter: Bartłomiej Nowak | Owner: Gregory
| Mariani
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: division | Triage Stage: Accepted
decimalfield |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls):
Thanks for the follow-up Gregory.
In my view, the original issue was worthy of discussion, but was never
accepted. After investigation, I'm proposing to treat it as invalid.
Another triager will let me know if I got this part wrong.
Sarah reframed and accepted this ticket for investigation specifically
regarding the SQLite behavior difference in comment:7. I debated whether
to close this issue and start a new issue for that, but instead I decided
to continue here since that's how Sarah originally triaged it.
So this ticket should stay in "needs improvement" until we have a PR with
the correct test cases and fix to match the accepted issue. The currently
linked PR has test cases that I don't think are correct (targeting the
original report that was not accepted).
--
Ticket URL: <https://code.djangoproject.com/ticket/36030#comment:27>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019aa1bd3790-8d265fb7-8685-48af-b806-46534b383ced-000000%40eu-central-1.amazonses.com.