[IPython-dev] ipython_directive broken?

Matthew Brett matthew.brett at gmail.com
Thu Jul 28 20:28:22 EDT 2011


Hi,

On Thu, Jul 28, 2011 at 12:48 PM, MinRK <benjaminrk at gmail.com> wrote:
> This was discussed a bit on ipython-user last week
> (http://mail.scipy.org/pipermail/ipython-user/2011-July/007918.html)
>
> I have a version of the directive working, at least to some degree, in a branch:
>
> https://github.com/minrk/ipython/blob/ipython_directive/docs/sphinxext/ipython_directive.py
>
>
> The main part about io.Term is that the IOStream objects are now
> module-level, as there was no reason to create a singleton object that
> just contained the three streams.
>
> Essentially:
>
> `io.Term.cout/cerr` became `io.stdout/stderr`
>
> And there were a few other changes regarding running code and getting output.

Sorry, I'm not the user list I believe.

Thanks for the file, that works for me, and thanks for the explanation.

Cheers,

Matthew



More information about the IPython-dev mailing list