Raymond wrote: > I. eval() to accept custom mapping arguments for globals and locals. > This makes it possible to write a smart __getitem__ method for > applications like spreadsheets or case-insensitive evaluation. +0. if you can do it without affecting performance in the dictionary case, that is. -1 if you can't. > II. Timer.timeit to take an optional context argument. +1 > III. enumerate to take an optional argument: +0 (it's not that hard or expensive to add an offset inside the loop) > IV. list.sorted() to become just sorted(). All of the common use cases > read better without the "list." prefix: +1 one more: V. a join() builtin (join(x,s) becomes s.join(x)). All of the common sep.join() use cases read better without the string literal prefix. (I'll leave the rest for later) </F>
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