classification
Title: parser module doesn't support nonlocal statement
Type: behavior Stage: patch review
Components: Library (Lib) Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: mark.dickinson Nosy List: mark.dickinson, python-dev
Priority: normal Keywords: patch

Created on 2012-04-29 20:58 by mark.dickinson, last changed 2012-04-29 21:24 by mark.dickinson. This issue is now closed.

Files
File name Uploaded Description Edit
parser_nonlocal.patch mark.dickinson, 2012-04-29 21:10 review
Messages (3)
msg159651 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2012-04-29 20:58
Here's a patch.
msg159652 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2012-04-29 21:10
Better test:  the nonlocal statements should be in a nested scope.
msg159654 - (view) Author: Roundup Robot (python-dev) Date: 2012-04-29 21:20
New changeset b7e491b9094f by Mark Dickinson in branch '3.2':
Issue #14696: Fix parser module to understand 'nonlocal' declarations.
http://hg.python.org/cpython/rev/b7e491b9094f

New changeset 5acddc7c666d by Mark Dickinson in branch 'default':
Issue #14696: Merge from 3.2
http://hg.python.org/cpython/rev/5acddc7c666d
History
Date User Action Args
2012-04-29 21:24:27mark.dickinsonsetstatus: open -> closed
assignee: mark.dickinson
resolution: fixed
components: + Library (Lib)
2012-04-29 21:20:07python-devsetnosy: + python-dev
messages: + msg159654
2012-04-29 21:10:25mark.dickinsonsetfiles: - parser_nonlocal.patch
2012-04-29 21:10:00mark.dickinsonsetfiles: + parser_nonlocal.patch

messages: + msg159652
2012-04-29 20:58:50mark.dickinsoncreate