Ticket #541 (closed defect: fixed)

Opened 4 years ago

Last modified 15 months ago

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

Changed 4 years ago by haoyu

Full support of this is depend on #132.

Changed 4 years ago by haoyu

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

Changed 4 years ago by haoyu

  • owner changed from somebody to haoyu

Changed 3 years ago by scoder

  • component changed from Python 3.0 to Python3 Semantics

Changed 15 months ago by scoder

  • cc baihaoyu@… removed
  • owner changed from haoyu to scoder
  • status changed from new to assigned

Changed 15 months ago by scoder

  • status changed from assigned to closed
  • resolution set to fixed

Changed 15 months ago by scoder

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