Re: [Django] #36030: SQLite backend: division with Decimal("x.0") operand and integer operand fails to preserve precision

9 views
Skip to first unread message

Django

unread,
Nov 23, 2025, 1:22:36 PM11/23/25
to django-...@googlegroups.com
#36030: SQLite backend: division with Decimal("x.0") operand and integer operand
fails to preserve precision
-------------------------------------+-------------------------------------
Reporter: Bartłomiej Nowak | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: division | Triage Stage: Accepted
decimalfield sqlite |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Bob Kline):

* keywords: division decimalfield => division decimalfield sqlite

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

Django

unread,
Nov 24, 2025, 4:47:23 AM11/24/25
to django-...@googlegroups.com
#36030: SQLite backend: division with Decimal("x.0") operand and integer operand
fails to preserve precision
-------------------------------------+-------------------------------------
Reporter: Bartłomiej Nowak | Owner: (none)
Type: Bug | Status: new
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: division | Triage Stage: Accepted
decimalfield sqlite |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by VIZZARD-X):

Recreated my fork and restored the branch. New PR:
https://github.com/django/django/pull/#20309

Patch content is unchanged and still valid.
--
Ticket URL: <https://code.djangoproject.com/ticket/36030#comment:39>

Django

unread,
Nov 24, 2025, 9:47:26 AM11/24/25
to django-...@googlegroups.com
#36030: SQLite backend: division with Decimal("x.0") operand and integer operand
fails to preserve precision
-------------------------------------+-------------------------------------
Reporter: Bartłomiej Nowak | Owner: VIZZARD-X
Type: Bug | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution:
Keywords: division | Triage Stage: Accepted
decimalfield sqlite |
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* needs_tests: 0 => 1
* owner: (none) => VIZZARD-X
* status: new => assigned

Comment:

[https://github.com/django/django/pull/20309 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/36030#comment:40>
Reply all
Reply to author
Forward
0 new messages