Opened 7 years ago

Closed 7 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:


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

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

Change History (3)

comment:1 Changed 7 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 7 years ago by scoder

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

comment:3 Changed 7 years ago by scoder

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

Implicit exception chaining is implemented here:

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

Note: See TracTickets for help on using tickets.