On 21 April 2003, Tim Peters said: > filter() is hard to get rid of because the bizarre filter(None, seq) special > case is supernaturally fast. Indeed, time the above against Hmmm, a random idea: has filter() ever been used for anything else? I didn't think so. So why not remove everything *except* that handy special-case: ie. in 3.0, filter(seq) == filter(None, seq) today, and that's *all* filter() does. Just a random thought... -- Greg Ward <gward@python.net> http://www.gerg.ca/ Dyslexics of the world, untie!
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4