Ticket #490 (closed enhancement: fixed)
Py3 syntax: support 'nonlocal' scope
| Reported by: | scoder | Owned by: | haoyu,scoder |
|---|---|---|---|
| Priority: | major | Milestone: | 0.15 |
| Component: | Python3 Semantics | Keywords: | |
| Cc: | biahaoyu@… |
Description
The nonlocal keyword of Python 2.6+ is not currently supported in Cython:
def testNonlocal(self):
# 'nonlocal' NAME (',' NAME)*
x = 0
y = 0
def f():
nonlocal x
nonlocal x, y
Change History
Note: See
TracTickets for help on using
tickets.
