Comment 3 for bug 505404

Revision history for this message
Fernando Perez (fdo.perez) wrote : Re: [Bug 505404] Re: %doctest_mode broken in trunk

On Sun, Jan 10, 2010 at 4:52 PM, Brian Granger <email address hidden> wrote:
> I see that the old InterpreterPasteInput was in extensions.  Where did
> the new stuff go?

I integrated it right into core/prefilter itself. I liked a lot how
you laid it out, and it seemed the most natural place for this:

http://bazaar.launchpad.net/~fdo.perez/ipython/trunk-dev/revision/1281

Initially I thought of it as an 'extension', and then I realized it
would be really nice to have all the time, so I studied the new
prefiltermanager machinery, and it looked like a great fit.

> As we fix things that were in extensions, I think we will have to
> decide where these things
> will go.  Some possibilities:
>
> * extensions
> * core
> * lib
>
> We should decide these things now so things don't end up all over the
> place.

Yes, though I think it will need to be done on a case-by-case basis.
Like in this case, I basically 'upgraded' the extension to a real,
all-the-time-on new feature. There will be others that will make
sense as extensions, I'm sure. But I don't think we can have a
blanket policy, in each case we'll have to make a judgment call.

Cheers,

f