[issue22008] Symtable's syntax warning should contain the word because

2014-07-18 Thread A Kaptur
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

[issue22008] Symtable's syntax warning should contain the word because

2014-07-18 Thread Berker Peksag
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

[issue22008] Symtable's syntax warning should contain the word because

2014-07-18 Thread Benjamin Peterson
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 ___

[issue22008] Symtable's syntax warning should contain the word because

2014-07-18 Thread Roundup Robot
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