ipython/ipython — pull request #2183 by jasongrout (2012-07-21 12:11:12+00:00)
Title: Include the kernel object in the event object passed to kernel events

It is really useful to us to have the kernel object that triggered an event when an event handler is called. This seems to do it.

See the last example in the jquery trigger docs: http://api.jquery.com/trigger/