News for hackers. Stuff that matters.
Re:Python 3 Is Winning Library Developer Support by pcote on Wednesday March 09, 2016 @08:48AM (#11252890)
The move of reduce to functools makes sense. But it's also inconsistent. map and filter should also be in the functools package tools right alongside partial and reduce. But instead, they're in __builtins__ because .... they're more popular I guess?
Re:Python 3 Is Winning Library Developer Support by deadowl on Wednesday March 09, 2016 @09:21AM (#11253077)
I'd actually be OK if map and filter were also in the functools package, but the only way to be consistent while maintaining backwards compatibility is going from the functools package to built-in.