On Wednesday, May 4, 2011 3:06:40 PM UTC-7, robertwb wrote:
>
> On Wed, May 4, 2011 at 3:05 PM, Robert Bradshaw
> <robe...@math.washington.edu> wrote:
> > On Wed, May 4, 2011 at 2:16 PM, Jeroen Demeyer <jdem...@cage.ugent.be> 
> wrote:
> >> On 2011-05-04 23:06, Robert Bradshaw wrote:
> >>> Are you returning a non-python object in a cdef method without an
> >>> "except" signature?
> >> This is not the issue.
> >>
> >> I think that *somewhere* in Sage a KeyboardInterrupt exception is caught
> >> by an "except:" (i.e. except everything) and I want to know where.
> >
> > You could try using pdb. Other than that, I'm not sure.
>
> Oh, if you're really desperate, you could put in a gdb breakpoint and
> step forward from there.
>
Or you can try "search_src('except:')" and see if any of the (many many) 
matches are relevant.  I don't know if "search_src('except:', 'Keyboard', 
multiline=True)" is too narrow a search, but there are only 8 matching 
files.

-- 
John

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to