Opened 6 years ago

Closed 5 years ago

#217 closed enhancement (fixed)

Support Py3 exception chaining (PEP 3134)

Reported by: scoder Owned by: scoder
Priority: major Milestone: 0.12
Component: Python 3.0 Keywords:
Cc:

Description

PEP 3134 defines how exceptions are chained implicitly and explicitly in Py3.

http://www.python.org/dev/peps/pep-3134/

Cython should set the exception context correctly and should also support the raise Exception from other_exception syntax.

Change History (3)

comment:1 Changed 6 years ago by scoder

Ticket #219 has a fix that disables exception chaining as long as it's not correctly supported by Cython. This needs to be revised to implement this feature.

comment:2 Changed 6 years ago by scoder

  • Owner changed from somebody to scoder
  • Status changed from new to assigned

comment:3 Changed 5 years ago by scoder

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

Implicit exception chaining is implemented here:

http://hg.cython.org/cython-devel/rev/587be39d90f9

See #423 as a follow-up for explicit exception chaining.

Note: See TracTickets for help on using tickets.