#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.