Ticket #250 (closed defect: fixed)
Traceback method name is wrong for exceptions caught in methods
| Reported by: | scoder | Owned by: | robertwb |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.12 |
| Component: | Code Generation | Keywords: | |
| Cc: |
Description (last modified by scoder) (diff)
When catching an exception in a method, Cython writes out this code:
__pyx_1 = PyErr_ExceptionMatches(__pyx_builtin_AttributeError);
if (__pyx_1) {
__Pyx_AddTraceback("lxml.etree.__init__");
This lacks the type name. At the end of the method, it correctly generates
__Pyx_AddTraceback("lxml.etree.ElementBase.__init__");
Change History
Note: See
TracTickets for help on using
tickets.
