[issue14451] sum, min, max only works with iterable

2012-03-30 Thread Fade78
New submission from Fade78 : The built-in functions working with iterable should also work with single object that is relevent. For example: max([1,6,5]) -> 6 max(6) -> TypeError because not an iterable (actual behavior) max(6) -> 6 (wanted pythonic behavior) So if I write a generic function l

[issue14451] sum, min, max only works with iterable

2012-03-30 Thread R. David Murray
R. David Murray added the comment: The current behavior is how we want the functions to work. If you want to debate the design, the best forum would probably be python-ideas. -- nosy: +r.david.murray resolution: -> rejected stage: -> committed/rejected status: open -> closed __