Get rid of _, N_, ngettext, etc. builtins

XMLWordPrintable

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Normal
    • None
    • Affects Version/s: 3.0
    • Component/s: Other
    • None

      Those gettext-related methods defined as builtins (monkeypatching) leads to a certain number of issues.
      For example, static typing checkers like mypy have issues with those (see https://github.com/python/mypy/issues/8727).

      The clean approach is to import then instead.

            Assignee:
            Unassigned
            Reporter:
            Zas
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package