Ticket #217 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

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

Changed 5 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.

Changed 5 years ago by scoder

  • owner changed from somebody to scoder
  • status changed from new to assigned

Changed 5 years ago by scoder

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

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.