#14028: Fix "except:" statements
----------------------------------+-----------------------------------------
Reporter: jdemeyer | Owner: jason
Type: defect | Status: new
Priority: critical | Milestone: sage-5.7
Component: misc | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Jeroen Demeyer | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by jdemeyer):
The problem was removing the statement
{{{
self._session_number = -1
}}}
New patch attached which should fix this. I also changed a few more
instances of
{{{
except StandardError:
}}}
to
{{{
except BaseException:
}}}
in cases where the except-clause was doing cleanup + re-raise.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14028#comment:6>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.