[Django] #35684: Remove raw_prefix when dropping support for gettext < 0.22.5

6 views
Skip to first unread message

Django

unread,
Aug 16, 2024, 12:57:22 PM8/16/24
to django-...@googlegroups.com
#35684: Remove raw_prefix when dropping support for gettext < 0.22.5
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Type:
| Cleanup/optimization
Status: new | Component: Utilities
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Serhii Tereshchenko commented on the
[https://github.com/django/django/pull/6018#issuecomment-2293310561 PR]
for #26093:

> Technically, it was [https://savannah.gnu.org/bugs/?65778 a bug in
gettext] and it is fixed now (but not released yet, probably will be
included in the next version after 0.22.5). Somewhere in the future when
everyone uses new gettext this workaround may no longer be needed.

`raw_prefix` has since moved to
[https://github.com/django/django/blob/a57596e443ecb67140e1a9fc0f0e87446b2d0174/django/utils/translation/template.py#L56-L57
django/utils/translation/template.py].

It may be a few years before this ticket is actionable, hence
"Someday/Maybe" status.
--
Ticket URL: <https://code.djangoproject.com/ticket/35684>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages