[issue9068] "from . import *"

Brett Cannon report at bugs.python.org
Thu Jun 24 20:21:07 CEST 2010


Brett Cannon <brett at python.org> added the comment:

That's because while it is syntactically allowed, it is semantically disallowed. The grammar rules shown in the docs is a generalization of the actual grammar used to build the parser so that we can take shortcuts with it to simply not have rules that will pass the parser but fail in the compiler.

----------
assignee:  -> brett.cannon
components: +Documentation -Interpreter Core
nosy: +brett.cannon
priority: normal -> low
resolution:  -> wont fix
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9068>
_______________________________________


More information about the Python-bugs-list mailing list