Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Thomas Kluyver
- Thu, 24 Nov 2011 22:00:25
Show More
IPython/frontend/html/notebook/static/js/notebook.js
0
+5
0
@@
-762,6
+762,11
b' var IPython = (function (IPython) {'
762
// console.log(reply);
762
// console.log(reply);
763
var msg_type = reply . header . msg_type ;
763
var msg_type = reply . header . msg_type ;
764
var cell = this . cell_for_msg ( reply . parent_header . msg_id );
764
var cell = this . cell_for_msg ( reply . parent_header . msg_id );
765
if ( ! cell ){
766
// message not from this notebook
767
console . log ( "Received IOPub message not caused by one of my cells" );
768
return ;
769
}
765
var output_types = [ 'stream' , 'display_data' , 'pyout' , 'pyerr' ];
770
var output_types = [ 'stream' , 'display_data' , 'pyout' , 'pyerr' ];
766
if ( output_types . indexOf ( msg_type ) >= 0 ) {
771
if ( output_types . indexOf ( msg_type ) >= 0 ) {
767
this . handle_output ( cell , msg_type , content );
772
this . handle_output ( cell , msg_type , content );
IPython/frontend/qt/base_frontend_mixin.py
0
+6
-1
@@
-106,4
+106,9
b' class BaseFrontendMixin(object):'
106
from this frontend.
106
from this frontend.
107
"""
107
"""
108
session = self . _kernel_manager . session . session
108
session = self . _kernel_manager . session . session
109
return msg [ 'parent_header' ][ 'session'] == session
109
pa rent = msg [ 'parent_header' ]
110
if not parent :
111
# if the message has no parent, assume it is meant for all frontends
112
return True
113
else :
114
return parent . get ( 'session' ) == session
IPython/lib/pylabtools.py
0
+3
0
IPython/zmq/kernelapp.py
0
+4
0
@@
-287,6
+287,10
b' class KernelApp(BaseIPythonApplication):'
287
self . write_connection_file ()
287
self . write_connection_file ()
288
self . init_io ()
288
self . init_io ()
289
self . init_kernel ()
289
self . init_kernel ()
290
# flush stdout/stderr, so that anything written to these streams during
291
# initialization do not get associated with the first execution request
292
sys . stdout . flush ()
293
sys . stderr . flush ()
290
294
291
def start ( self ):
295
def start ( self ):
292
self . heartbeat . start ()
296
self . heartbeat . start ()
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages