Giovanni Bajo wrote: > I believe that names in > lambdas/nested-functions referring to local names in the outer scope should > really be bound at function definition time No, you don't want that, because it would make functions that call each other very awkward to arrange. > And it's also handy that the iteration variable of the for loop is > accessible after the for loop is terminated (in fact, this specific > behaviour is already listed among the wont-change for Py3k). I'd just like to point out that the create-a-new-cell behaviour that I have proposed for loop variables *preserves* this ability! for new i in range(10): ... print i will still print 9. -- Greg
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