#17472: RequestContext function with dict={} kwarg paramater fails
---------------------------------+---------------------------------------
     Reporter:  anonymous        |                    Owner:  nobody
         Type:  Bug              |                   Status:  closed
    Component:  Template system  |                  Version:  1.4-alpha-1
     Severity:  Normal           |               Resolution:  wontfix
     Keywords:  RequestContext   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  1                |                    UI/UX:  0
---------------------------------+---------------------------------------
Changes (by lukeplant):

 * status:  new => closed
 * resolution:   => wontfix
 * type:  Cleanup/optimization => Bug
 * severity:  Release blocker => Normal


Comment:

 I'm going to WONTFIX this, because:

 1) Passing the dictionary as a keyword argument has never been documented
 - it has always been an optional second positional argument, AFAICS.
 Therefore we don't **have** to support it.

 2) Although it would **nice** to maintain this backwards compatibility if
 possible, there are positive reasons for the change:

 2.1) Consistency with `Context` which names the the argument `'dict_'`,
 and has done since at least 1.3.X.

 2.2) `'dict'` is a poor choice of variable name, since it causes the
 builtin `'dict'` to be shadowed.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/17472#comment:2>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to