For 2.2.2, if we add False,True=0,1 to __builtins__, then code written for 2.3 will more likely run without modification. For instance, that is all the sets module need to run under 2.2. Since 2.2 may end-up being the Py-in-a-Tie and because we want 2.3 book examples to be likely to run in an older environment, I propose we add the two builtins. Further, since we don't want to encourage further propagation of custom dictionary based sets, we should consider adding the sets module also. In both cases, it can't hurt to add the extra functions and it can certainly help some of the time. Raymond Hettinger
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