[IPython-dev] use of InteractiveShell and R magic

Thomas Kluyver takowl@gmail....
Thu Jun 14 19:31:52 CDT 2012


On 15 June 2012 00:30, Brian Granger <ellisonbg@gmail.com> wrote:
> But don't we have similar assumptions about InteractiveShell being a
> singleton throughout the code base.  The patterns used by the magic
> system are by no means unique.  I am not sure I would call this a bug.

I think, and I've mentioned before, that we should gradually try to
remove this assumption. There are some use cases for having multiple
InteractiveShell objects in one process. It's one reason I like the
extension system - it achieves loose coupling without assuming that
there will only ever be one shell object.

This is a low priority, long term goal, though.

Thomas


More information about the IPython-dev mailing list