New submission from A Kaptur:
The symbol table's syntax error about unqualified exec is missing the word
because.
def foo():
... exec a = 1
... def bar():
... print a
...
File stdin, line 2
SyntaxError: unqualified exec is not allowed in function 'foo' it contains a
nested
Changes by Berker Peksag berker.pek...@gmail.com:
--
assignee: docs@python -
components: +Library (Lib) -Documentation
nosy: -docs@python
stage: needs patch - patch review
type: enhancement - behavior
versions: -Python 3.1, Python 3.2, Python 3.3
Changes by Benjamin Peterson benja...@python.org:
--
versions: -Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22008
___
Roundup Robot added the comment:
New changeset ef009b76bca3 by Benjamin Peterson in branch '2.7':
add missing 'because' (closes #22008)
http://hg.python.org/cpython/rev/ef009b76bca3
--
nosy: +python-dev
resolution: - fixed
stage: patch review - resolved
status: open - closed