Ticket #541 (closed defect: fixed)
Exception catching semantic change in Python 3
| Reported by: | haoyu | Owned by: | scoder |
|---|---|---|---|
| Priority: | major | Milestone: | 0.19 |
| Component: | Python3 Semantics | Keywords: | |
| Cc: |
Description
As described in PEP3110, the following code block:
try:
try_body
except E as N:
except_body
...
should be transformed to the following:
try:
try_body
except E as N:
try:
except_body
finally:
N = None
del N
...
when language level set to Python 3 in Cython.
Change History
Note: See
TracTickets for help on using
tickets.
