#37178: Move MiddlewareMixin out of utils.deprecation
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                    Owner:  CharulL00
         Type:                       |                   Status:  assigned
  Cleanup/optimization               |
    Component:  HTTP handling        |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Mike Edmunds):

 Replying to [comment:1 Carlton Gibson]:
 > [...] Deprecation could use a [https://peps.python.org/pep-0562/ module
 level __getattr__] to raise the DeprecationWarning. 🤔

 It probably should. In the past, retaining multiple supported import paths
 to things that move has been considered a maintenance burden, and
 deprecating the old path was preferred. (Trying to remember the specific
 example where this came up.)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37178#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019ee131d94d-1ced80ee-fcb3-41f8-82a7-2f7b38c40031-000000%40eu-central-1.amazonses.com.

Reply via email to