Opened 5 years ago

Closed 23 months ago

Last modified 23 months ago

#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 (7)

comment:1 Changed 5 years ago by haoyu

Full support of this is depend on #132.

comment:2 Changed 5 years ago by haoyu

Patch uploaded for review at:
http://codereview.appspot.com/1556042

comment:3 Changed 4 years ago by haoyu

  • Owner changed from somebody to haoyu

comment:4 Changed 4 years ago by scoder

  • Component changed from Python 3.0 to Python3 Semantics

comment:5 Changed 23 months ago by scoder

  • Cc baihaoyu@… removed
  • Owner changed from haoyu to scoder
  • Status changed from new to assigned

comment:6 Changed 23 months ago by scoder

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:7 Changed 23 months ago by scoder

  • Milestone changed from 1.0 to 0.19
Note: See TracTickets for help on using tickets.