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 function with free variables ---------- assignee: docs@python components: Documentation files: issue.patch keywords: patch messages: 223447 nosy: akaptur, docs@python priority: normal severity: normal stage: needs patch status: open title: Symtable's syntax warning should contain the word "because" type: enhancement versions: Python 2.7, Python 3.1, Python 3.2, Python 3.3, Python 3.4, Python 3.5 Added file: http://bugs.python.org/file35992/issue.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22008> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com