File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed
Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 3131 'title' : 'execnb' ,
3232 'tst_flags' : 'notest' ,
3333 'user' : 'fastai' ,
34- 'version' : '0.1.0 ' },
34+ 'version' : '0.1.1 ' },
3535 'syms' : { 'execnb.fastshell' : { 'execnb.fastshell.FastInteractiveShell' : 'https://fastai.github.io/execnb/fastshell.html#fastinteractiveshell' ,
3636 'execnb.fastshell.FastInteractiveShell.ask_exit' : 'https://fastai.github.io/execnb/fastshell.html#fastinteractiveshell.ask_exit' ,
3737 'execnb.fastshell.FastInteractiveShell.data_pub' : 'https://fastai.github.io/execnb/fastshell.html#fastinteractiveshell.data_pub' ,
Original file line number Diff line number Diff line change @@ -32,23 +32,15 @@ def autosave(self, arg_s): pass
3232
3333class FastInteractiveShell (InteractiveShell ):
3434 data_pub_class = Any ()
35- kernel = Any ()
35+ # kernel = Any()
3636 parent_header = Any ()
3737 exiter = Instance (ZMQExitAutocall )
3838
3939 @default ('exiter' )
4040 def _default_exiter (self ): return ZMQExitAutocall (self )
4141
4242 @observe ('exit_now' )
43- def _update_exit_now (self , change ):
44- "stop eventloop when exit_now fires"
45- if change ['new' ]:
46- if hasattr (self .kernel , 'io_loop' ):
47- loop = self .kernel .io_loop
48- loop .call_later (0.1 , loop .stop )
49- if self .kernel .eventloop :
50- exit_hook = getattr (self .kernel .eventloop , 'exit_hook' , None )
51- if exit_hook : exit_hook (self .kernel )
43+ def _update_exit_now (self , change ): pass
5244
5345 keepkernel_on_exit = None
5446
You can’t perform that action at this time.
0 commit comments