##// END OF EJS Templates
Make event triggering robust to (un)registration....
Make event triggering robust to (un)registration. Event callbacks can register or unregister new callbacks for the same event while executing, and the previous triggering implementation allowed for event callbacks to be inadvertently skipped. The fix is to make a copy of the list of callbacks before executing any of them. With this change, the resulting semantics are simple: any callbacks registered before triggering are executed, and any new callbacks registered are only visible at the next triggering of the event. Note that this could potentially break existing callers who expected newly-appended callbacks were immediately executed. Fixes #9447. Originally based on a patch by @marksandler2.

File last commit:

r20278:8f4dcac7
r22317:68860ee5
Show More
Index.ipynb
210 lines | 5.0 KiB | text/plain | TextLexer
No description has been provided for this image

Back to the main Index

Embedding IPython Into Other Applications

The architecture of IPython is built with reusable components. These components include:

  • The configuration system for processing command line arguments and configuration files
  • The IPython InteractiveShell object that provides the core interactive features across the entire code base
  • The IPython kernel, which provides the capabilities of the InteractiveShell object over a ZeroMQ/JSON based message protocol to various frontends
  • The IPython frontends (Notebook, Qt Console, Console, Terminal)

These components can be embedded into other applications.

Tutorials

Coming soon.

Examples

Coming soon.

Non-notebook examples

This directory also contains examples that are regular Python (.py) files.