[Samuele] > I would expect blocks to be blocks, accepting also statements and > sharing the scope with the surrounding code, not having > early-binding semantics. > > Honestly, given the introduction of generator exprs, a substitute > expression for lambda with early-binding semantics makes > sense. Personally I can see it also as meaningful wrt the > statemenent/expression dichotomy in python, and we would have > early-binding as a general rule for "expressions". > > But again I think that a block-like syntax should be used, if at > all, for real blocks. Thanks -- that all makes sense. --Guido van Rossum (home page: http://www.python.org/~guido/)
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