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 r.david.murray
Recipients docs@python, r.david.murray, roysmith
Date 2012-08-07.18:29:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1344364188.69.0.0788156429759.issue15575@psf.upfronthosting.co.za>
In-reply-to
Content
Well, I don't think a full discussion of the subtlety about a module appearing under multiple names belongs in the tutorial, but I think the sentence could be amended to say "Statements in a module are executed only the *first* time the module name is encountered in an import statement".

The other is indeed a bug (IMO the sentence is missing the word 'definition', as in 'execution of a function definition').
History
Date User Action Args
2012-08-07 18:29:48r.david.murraysetrecipients: + r.david.murray, roysmith, docs@python
2012-08-07 18:29:48r.david.murraysetmessageid: <1344364188.69.0.0788156429759.issue15575@psf.upfronthosting.co.za>
2012-08-07 18:29:48r.david.murraylinkissue15575 messages
2012-08-07 18:29:47r.david.murraycreate