summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/gen_context2.py
Commit message (Collapse)AuthorAge
* tests: Move gen_context to import tests, because it relies on import.Damien George2014-04-17
|
* objgenerator: Generator must execute in its defining lexical context.Paul Sokolovsky2014-04-17
I.e. with its own globals. So, just as for functions, we need to switch globals when resuming a generator.