This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients ncoghlan
Date 2011-06-20.15:15:10
SpamBayes Score 0.003233059
Marked as misclassified No
Message-id <1308582911.55.0.701954968644.issue12374@psf.upfronthosting.co.za>
In-reply-to
Content
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)
History
Date User Action Args
2011-06-20 15:15:11ncoghlansetrecipients: + ncoghlan
2011-06-20 15:15:11ncoghlansetmessageid: <1308582911.55.0.701954968644.issue12374@psf.upfronthosting.co.za>
2011-06-20 15:15:11ncoghlanlinkissue12374 messages
2011-06-20 15:15:10ncoghlancreate