Opened 61 minutes ago

Last modified 36 minutes ago

#37133 new Bug

Bug in TranslationCatalog

Reported by: Aryaz Eghbali Owned by:
Component: Utilities Version: 6.0
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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.

Change History (1)

comment:1 by Aryaz Eghbali, 36 minutes ago

Has patch: set
Note: See TracTickets for help on using tickets.
Back to Top