Uploaded image for project: 'Picard'
  1. Picard
  2. PICARD-2870

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

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • 3.0
    • 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.

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

              Created:
              Updated:

                Version Package