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.
Created on 2009年03月10日 16:59 by MLModel, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg83439 - (view) | Author: Mitchell Model (MLModel) | Date: 2009年03月10日 16:59 | |
In the Python Language Reference, in the Naming and binding section of Execution Model, there is a paragraph that states: The following constructs bind names: formal parameters to functions, import statements, class and function definitions (these bind the class or function name in the defining block), and targets that are identifiers if occurring in an assignment, for loop header, or in the second position of an except clause header. The import statement of the form "from ...import *" binds all names defined in the imported module, except those beginning with an underscore. This form may only be used at the module level. This misdescribes the except clause, which now uses "as", and omits the "with ... as" construct which also binds names. |
|||
| msg83647 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2009年03月15日 21:57 | |
Fixed in trunk in r70397 and 3k in r70398. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:46 | admin | set | github: 49719 |
| 2009年03月15日 21:57:26 | georg.brandl | set | status: open -> closed messages: + msg83647 resolution: fixed |
| 2009年03月10日 16:59:48 | MLModel | create | |