#21740: client.py uses mutable default arguments, which is bad practice
--------------------------------------+------------------------------------
     Reporter:  sleepydragon          |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Testing framework     |                  Version:  master
     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
--------------------------------------+------------------------------------
Changes (by charettes):

 * needs_better_patch:   => 0
 * needs_docs:   => 0
 * version:  1.6 => master
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 It looks like the `dict` creation should be moved at the `RequestFactory`
 level which also suffer from the same issues.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21740#comment:1>
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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/070.695031ee7fbedc15f1752edaaf9fa09a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to