#23796: Reduced reduce() usage
-------------------------------------+-------------------------------------
     Reporter:  bradmwalker          |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |                  Version:  master
    Component:  Uncategorized        |               Resolution:
     Severity:  Normal               |             Triage Stage:  Ready for
     Keywords:                       |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

 In [changeset:"cfa26f29bdd9b0f82211e6f5ff7f4cd63bd66150"]:
 {{{
 #!CommitTicketReference repository=""
 revision="cfa26f29bdd9b0f82211e6f5ff7f4cd63bd66150"
 Reduced reduce() usage; refs #23796.

 django.core.exceptions.ValidationError.messages() and
 django.db.backends.schema.BaseDatabaseSchemaEditor._alter_field():
 Replaced reduce(operator.add, ...) w/uncoupled, explicit sum()
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23796#comment:3>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.779fb209ca0c36f83141b940b826d864%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to