Message138728
The current execution model documentation in the Language Reference doesn't clearly explain the multiple phases of code execution:
1. Compilation time (statement by statement in the main module and at the interactive prompt, all at once for module import and the exec() and compile() builtins)
2. Definition time for function statements (i.e. when the function statement itself is executed)
3. Execution time for function and generator bodies (i.e. when a function is called and when next() is invoked on a generator) |
|
Date |
User |
Action |
Args |
2011-06-20 15:15:11 | ncoghlan | set | recipients:
+ ncoghlan |
2011-06-20 15:15:11 | ncoghlan | set | messageid: <1308582911.55.0.701954968644.issue12374@psf.upfronthosting.co.za> |
2011-06-20 15:15:11 | ncoghlan | link | issue12374 messages |
2011-06-20 15:15:10 | ncoghlan | create | |
|