[Python-3000] Python 3000 Status Update (Long!)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 21 04:43:00 CEST 2007


Nicko van Someren wrote:
> perhaps the sum() function could be made properly polymorphic  
> so as to remove one more class of use cases for reduce().

That's unlikely to happen. As I remember things,
sum() was deliberately restricted to numbers so
as not to present an attractive nuisance as an
inefficient way to concatenate a list of strings.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-3000 mailing list