#6661: Misleading warning message of _expect_expr() at KeyboardInterrupt
------------------------+---------------------------------------------------
Reporter: SimonKing | Owner: was
Type: defect | Status: new
Priority: minor | Milestone: sage-4.1.1
Component: interfaces | Keywords: KeyboardInterrupt
Reviewer: | Author:
Merged: |
------------------------+---------------------------------------------------
When there is a {{{KeyboardInterrupt}}} while {{{_expect_expr}}} talks
with some interface, there is ''always'' the warning message
{{{
Control-C pressed. Interrupting R. Please wait a few seconds...
}}}
before the {{{KeyboardInterrupt}}} is re-raised -- regardless whether the
interface is R or anything else!
The patch that I am about to post would instead print
{{{
"Control-C pressed. Interrupting %s. Please wait a few seconds..."%self
}}}
where {{{self}}} is the interface.
I know that all bug fixes should be doc tested. But can someone explain to
me how one can produce a {{{KeyboardInterrupt}}} while
{{{_expect_expr()}}} is running?
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6661>
Sage <http://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
-~----------~----~----~----~------~----~------~--~---