[IPython-dev] use of InteractiveShell and R magic
Thu Jun 14 19:38:45 CDT 2012
On Thu, Jun 14, 2012 at 5:31 PM, Thomas Kluyver <firstname.lastname@example.org> wrote:
> On 15 June 2012 00:30, Brian Granger <email@example.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.
Right - the instance() methods are meant as a convenience, not enforcement.
We have a certain amount of functionality that relies on instance() still,
but I think that is appropriately shrinking.
One old singleton-y thing we still really haven't dealt with:
> IPython-dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the IPython-dev