[Django] #37133: Bug in TranslationCatalog

1 view
Skip to first unread message

Django

unread,
May 31, 2026, 5:11:55 PMMay 31
to django-...@googlegroups.com
#37133: Bug in TranslationCatalog
------------------------+--------------------------------------
Reporter: AryazE | Type: Bug
Status: new | Component: Utilities
Version: 6.0 | Severity: Normal
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------+--------------------------------------
In `django/utils/translation/trans_real.py` line 108 compares the
`__code__` of a function to the top item in the catalog, which is always a
function. This comparison always evaluates to False, even if both
functions are the same.
--
Ticket URL: <https://code.djangoproject.com/ticket/37133>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 31, 2026, 5:36:56 PMMay 31
to django-...@googlegroups.com
#37133: Bug in TranslationCatalog
-------------------------------+--------------------------------------
Reporter: Aryaz Eghbali | Owner: (none)
Type: Bug | Status: new
Component: Utilities | Version: 6.0
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Aryaz Eghbali):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/37133#comment:1>
Reply all
Reply to author
Forward
0 new messages