[IPython-dev] Prefiltering input - where and how?

Fernando Perez fperez.net@gmail....
Sat Mar 12 18:53:15 CST 2011


On Sat, Mar 12, 2011 at 4:41 PM, Thomas Kluyver <takowl@gmail.com> wrote:
> Also, I see that run_one_block calls run_code with a string. Am I right in
> thinking that it should call run_source, which expects strings?
>

For the record in case anyone searches later, Thomas was correct but
that change was already committed:

https://github.com/ipython/ipython/commit/de4ba654e16782f96cab589c411fccdd9e5eb167

He was just working off an older branch.  Indeed, the old use of
run_code there was a bug.

Good eye :)

f


More information about the IPython-dev mailing list