Re: [Django] #27235: Avoid using mutable default arguments where possible

2016-09-16 Thread Django
#27235: Avoid using mutable default arguments where possible
-+-
 Reporter:  lamby|Owner:  nobody
 Type:   |   Status:  closed
  Cleanup/optimization   |
Component:  Uncategorized|  Version:  1.10
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham ):

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


Comment:

 In [changeset:"9027e6c8a3711034d345535036d1a276d9a8b829" 9027e6c8]:
 {{{
 #!CommitTicketReference repository=""
 revision="9027e6c8a3711034d345535036d1a276d9a8b829"
 Fixed #27235 -- Removed some usage of mutable default arguments.
 }}}

--
Ticket URL: 
Django 
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/063.02c8bff0fd0ae2938f03b81d082f90ca%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #27235: Avoid using mutable default arguments where possible

2016-09-16 Thread Django
#27235: Avoid using mutable default arguments where possible
-+-
 Reporter:  lamby|Owner:  nobody
 Type:   |   Status:  new
  Cleanup/optimization   |
Component:  Uncategorized|  Version:  1.10
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by lamby):

 * needs_better_patch:   => 0
 * needs_tests:   => 0
 * needs_docs:   => 0


Comment:

 https://github.com/django/django/pull/7253

--
Ticket URL: 
Django 
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/063.9dbab6d626024ed5a81af83c4c63fdff%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #27235: Avoid using mutable default arguments where possible

2016-09-16 Thread Django
#27235: Avoid using mutable default arguments where possible
--+
 Reporter:  lamby |  Owner:  nobody
 Type:  Cleanup/optimization  | Status:  new
Component:  Uncategorized |Version:  1.10
 Severity:  Normal|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  1
Easy pickings:  0 |  UI/UX:  0
--+
 eg. def foo(x=[])

--
Ticket URL: 
Django 
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/048.a393a38eb1e621e2fa0b1ae9f3f015d6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.