[issue15575] Tutorial is unclear on multiple imports of a module.

2013-04-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9df9931fae96 by R David Murray in branch '3.3': #15575: Clarify tutorial description of when modules are executed. http://hg.python.org/cpython/rev/9df9931fae96 New changeset dac847938326 by R David Murray in branch 'default': #15575: Clarify

[issue15575] Tutorial is unclear on multiple imports of a module.

2013-04-21 Thread R. David Murray
R. David Murray added the comment: Thanks, James. I wound up going with a different wording for the elaboration: since the concept of running a python file as a script is mentioned just a bit earlier, I added a parenthetical that the statements are also executed if the module is run as a

[issue15575] Tutorial is unclear on multiple imports of a module.

2013-03-25 Thread jamesob
jamesob added the comment: Howdy; attached is a patch containing the doc changes. I figured that some elaboration was in addition to what r.david.murray recommended, so I've included a brief allusion to the problem of equivalent paths. -- keywords: +patch nosy: +jamesob Added file:

[issue15575] Tutorial is unclear on multiple imports of a module.

2013-03-14 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- keywords: +easy nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15575 ___

[issue15575] Tutorial is unclear on multiple imports of a module.

2012-08-07 Thread Roy Smith
New submission from Roy Smith: Opening this bug at Ben Finney's request. See https://groups.google.com/forum/?fromgroups#!topic/comp.lang.python/wmDUrpW2ZCU for the full thread discussing the problem. Here's a significant excerpt: - The

[issue15575] Tutorial is unclear on multiple imports of a module.

2012-08-07 Thread R. David Murray
R. David Murray added the comment: 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