Andrew Durdin writes: > But does this really belong in __builtins__? Wouldn't it be better for > the interactive interpreter to register it as a global when it sets > up, as it only makes sense in the context of the interactive > interpreter? It's a basic principle that the behavior of the interactive interpreter and the behavior of Python run non-interactively should be as close to the same as is possible. The requirement for blank lines after an indented suite is unavoidable because you can't "look ahead" in the interpreter. There are also the prompts. While I'm sure there are a few others, we try to keep the differences minimal. -- Michael Chermside
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