##// END OF EJS Templates
inputhook: disable CTRL+C when a hook is active....
inputhook: disable CTRL+C when a hook is active. On systems with 'readline', it's very likely to intercept a signal during a select() call. The default SIGINT handler will schedule a KeyboardInterrupt exception to be raised as soon as possible. If ctypes is used to install a Python callback for PyOS_InputHook, this will happen as soon as the bytecode execution starts, so even if the first instruction of the callback is a `try: ... except KeyboardInterrupt` clause, it's actually too late. As ctypes doesn't allow a Python callback to raise an exception, this ends up with IPython detecting an internal error... not pretty. We must therefore ignore the SIGINT signals until we are sure the exception handler is active, in the Python callback.

File last commit:

r2267:928c921b
r4944:0fc80df3
Show More
igrid_help.css
45 lines | 761 B | text/css | CssLexer
body
{
background-color: #fff;
color: #000;
font-family: "Verdana", "Arial", "XHelvetica", "Helvetica", sans-serif;
padding: 20px 30px;
margin: 0px;
font-size: 11px;
}
h1
{
font-family: "Trebuchet MS", sans-serif;
font-size: 24px;
margin: -20px -30px 4px -30px;
padding: 6px 30px;
font-weight: normal;
border-bottom: 1px solid #000;
letter-spacing: 1px;
background-color: #666;
color: #fff;
}
h2
{
font-family: "Trebuchet MS", sans-serif;
font-size: 20px;
padding: 14px 0px 2px 0px;
margin: 0px;
font-weight: bold;
color: #333;
}
h3
{
font-family: "Trebuchet MS", sans-serif;
font-size: 14px;
padding: 12px 0px 2px 0px;
margin: 0px;
font-weight: bold;
color: #333;
}
p
{
line-height: 120%;
margin: 0px 0px 6px 0px;
padding: 0px;
}