Go to file
Fernando Perez a2bb278c3a Merge pull request #1187 from minrk/nbshutdown
Notebook cleanups and fixes: connection file cleanup, first heartbeat, startup flush.

Kernels would not linger, but the KernelManagers are not garbage-collected on shutdown.  This means that connection files for kernels still running at notebook shutdown would not be removed.

Now, kernels are explicitly killed at server shutdown, allowing the KernelManagers to cleanup files.

Small changes along the way:

* disables the unnecessary (and actively detrimental) SIGINT handler inherited from the original copy/paste from the qt app.
* put webapp initialization in `init_webapp` out of `initialize`, to preserve convention of there being no unique code in `initialize()`.
* don't warn about http on all interfaces if running in 100% read-only mode, because no login or execution is possible.

Closes #1232.
2012-01-05 22:00:51 -08:00
docs Add embedded video example by Chris Kees. 2011-12-18 23:20:13 -08:00
IPython explicit for-loop in cleanup_kernels 2012-01-05 21:53:34 -08:00
.gitignore Add MANIFEST to ignore list. 2011-10-13 22:13:30 -07:00
.mailmap ENH: initial .mailmap to unify major contributors appearance in shortlog 2011-09-12 17:08:51 -07:00
setup.py Remove separate setup.py file for Python 3. 2012-01-04 21:51:54 +00:00
setupbase.py Make single setup script work on Python 2 and Python 3. 2012-01-04 21:51:24 +00:00