django/django — pull request #3498 by bradmwalker (2014-11-11 04:16:32+00:00)
Title: Reduced reduce() usage #23796

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

django.core.management.commands.makemigrations.Command.handle_merge():
This reduce() did nothing and would break with larger sequences.
A reduce(operator.eq, ...) accumulates bools and can't generically check
equality of all items in a sequence.