[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 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



[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

___
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



[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
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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

___
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