[Django] #27648: Deprecate ("iLmsu") regex groups in URLpatterns

24 views
Skip to first unread message

Django

unread,
Dec 27, 2016, 10:56:19 AM12/27/16
to django-...@googlegroups.com
#27648: Deprecate ("iLmsu") regex groups in URLpatterns
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: Tim Graham
Graham |
Type: | Status: assigned
Cleanup/optimization |
Component: Core | Version: master
(URLs) |
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
As [https://groups.google.com/d/topic/django-
developers/Y51CKkqq6Ng/discussion discussed on django-developers], Python
deprecated usage of flags not at the start of a regular expression, e.g.
'CaseInsensitive(?i)' instead of '(?i)CaseInsensitive'. A new solution
would be required to support these flags in Django, however, since case-
insensitive URLs aren't a good practice and the other flags don't have
value in urlpatterns, support for this will be removed. An alternative
solution for those wanting the functionality is to write a 404 handler to
look for uppercase characters and redirect to a lowercase equivalent.

--
Ticket URL: <https://code.djangoproject.com/ticket/27648>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 27, 2016, 11:26:39 AM12/27/16
to django-...@googlegroups.com
#27648: Deprecate ("iLmsu") regex groups in URLpatterns
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Tim
Type: | Graham
Cleanup/optimization | Status: assigned
Component: Core (URLs) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/7749 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/27648#comment:1>

Django

unread,
Dec 27, 2016, 1:53:50 PM12/27/16
to django-...@googlegroups.com
#27648: Deprecate ("iLmsu") regex groups in URLpatterns
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Tim
Type: | Graham
Cleanup/optimization | Status: assigned
Component: Core (URLs) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Marten Kenbeek):

* stage: Accepted => Ready for checkin


--
Ticket URL: <https://code.djangoproject.com/ticket/27648#comment:2>

Django

unread,
Dec 27, 2016, 3:59:35 PM12/27/16
to django-...@googlegroups.com
#27648: Deprecate ("iLmsu") regex groups in URLpatterns
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Tim
Type: | Graham
Cleanup/optimization | Status: closed

Component: Core (URLs) | Version: master
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by GitHub <noreply@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"51cde873d9fc8e4540f4efecbd39cfe8e770be38" 51cde87]:
{{{
#!CommitTicketReference repository=""
revision="51cde873d9fc8e4540f4efecbd39cfe8e770be38"
Fixed #27648 -- Deprecated (iLmsu) regex groups in url() patterns.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27648#comment:3>

Django

unread,
Sep 22, 2017, 1:39:42 PM9/22/17
to django-...@googlegroups.com
#27648: Deprecate ("iLmsu") regex groups in URLpatterns
-------------------------------------+-------------------------------------
Reporter: Tim Graham | Owner: Tim
Type: | Graham
Cleanup/optimization | Status: closed
Component: Core (URLs) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"ba42456c2e3f8f63a72b79f7d8c24a296d2cf0fe" ba42456c]:
{{{
#!CommitTicketReference repository=""
revision="ba42456c2e3f8f63a72b79f7d8c24a296d2cf0fe"
Refs #27648 -- Removed support for (iLmsu) regex groups in url() patterns.

Per deprecation timeline.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/27648#comment:4>

Reply all
Reply to author
Forward
0 new messages