#11310: Get rid of some bare "except:" statements
-------------------------------+--------------------------------------------
Reporter: jdemeyer | Owner: jason
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.0
Component: misc | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Comment (by jdemeyer):
I would like to fix the following from
`devel/sage/sage/structure/parent.pyx`, starting at line 2577:
{{{
try:
return super(Parent, self)._an_element_()
except EmptySetError:
raise
except:
_record_exception()
pass
try:
return self.gen(0)
except:
_record_exception()
pass
try:
return self.gen()
except:
_record_exception()
pass
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11310#comment:4>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.