[Python-ideas] Fast sum() for non-numbers - why so much worries?

Stephen J. Turnbull stephen at xemacs.org
Thu Jul 11 09:26:10 CEST 2013


Ronald Oussoren writes:

 > > It does count; it's a language change.  It is not a bug-fix in which
 > > the implementation is brought into line with the language definition.
 > 
 > That doesn't mean that using += instead of + in sum isn't a valid change
 > to make for 3.4.

Agreed, it might be.  I was just addressing Joshua's statement that:

 > >> I'm not sure not supporting broken code counts as a semantic change.
 > >> That is what I was debating.

AFAIK, whether some code depending on current behavior is broken is
irrelevant to Python's definition of "semantic change".

 > It's probably time for someone to write a summary of the discussion
 > (what are the proposals and the arguments in favor and against
 > them)

+1

Steve


More information about the Python-ideas mailing list