#15026: Fix wrong except clauses
----------------------------------+-----------------------------
Reporter: jdemeyer | Owner:
Type: defect | Status: needs_review
Priority: minor | Milestone: sage-5.12
Component: misc | Resolution:
Keywords: | Merged in:
Authors: Jeroen Demeyer | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Dependencies:
Stopgaps: |
----------------------------------+-----------------------------
Comment (by jdemeyer):
Replying to [comment:2 ppurka]:
> Is it clear in cases like this:
> {{{
> 5181 except AttributeError, TypeError:
> }}}
> that the `TypeError` never occurs?
I thought about this but I couldn't see any way how
{{{alpha.galois_conjugates(QQbar)}}} could produce a `TypeError`. Note
that
{{{
except AttributeError, TypeError:
}}}
and
{{{
except AttributeError:
}}}
really do the same thing, so I'm not changing the functionality of this
line of code.
--
Ticket URL: <http://trac.sagemath.org/ticket/15026#comment:3>
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.
For more options, visit https://groups.google.com/groups/opt_out.