#11945: Throw exception instead of printing error in c_graph.pyx
----------------------------+-----------------------------------------------
   Reporter:  kini          |          Owner:  jason, ncohen, rlm               
   
       Type:  defect        |         Status:  new                              
   
   Priority:  major         |      Milestone:  sage-4.7.3                       
   
  Component:  graph theory  |       Keywords:  cython exception cpdef print 
c_graph
Work_issues:                |       Upstream:  N/A                              
   
   Reviewer:                |         Author:                                   
   
     Merged:                |   Dependencies:                                   
   
----------------------------+-----------------------------------------------
 The following text currently occurs in
 `$SAGE_ROOT/devel/sage/sage/graphs/base/c_graph.pyx`:

 {{{
 #!python
         # The following is due to a hard to reproduce bug in Cython where
 except,
         # cpdef, and classes don't play well together:
         print "Not Implemented!"
         # raise NotImplementedError() ... results in:
         # Exception exceptions.NotImplementedError: NotImplementedError()
 in 'sage.graphs.base.c_graph.CGraph.has_arc' ignored
         # False
 }}}

 These lines were written by Robert Miller in 2009. This ticket is just to
 keep track of this, since it should eventually be done properly once the
 Cython bug is gone.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11945>
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.

Reply via email to