#35459: Case.extra is undocumented, untested, and can hide potential issues
-------------------------------------+-------------------------------------
     Reporter:  Baptiste Mispelon    |                    Owner:  Priyank
         Type:                       |  Panchal
  Cleanup/optimization               |                   Status:  assigned
    Component:  Database layer       |                  Version:  5.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Jacob Walls):

 * has_patch:  1 => 0

Comment:

 > I would be tempted to drop it considering the way it silently swallows
 unknown kwargs. Am I missing something?

 We could consider deprecating the current behavior of accepting unused
 keyword args, but I think that should go through a
 [https://forum.djangoproject.com/t/deprecate-unmatched-keyword-args-to-
 func-case-and-subquery/33534 forum post] first.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35459#comment:8>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070191198e75f9-76dc27f1-c897-4b99-8998-5b22a682179a-000000%40eu-central-1.amazonses.com.

Reply via email to