[IPython-User] Tips working around a bug in IPython 13.2

Aaron Meurer asmeurer@gmail....
Sun Jun 9 11:32:39 CDT 2013


Will this disable any other features, though?

Aaron Meurer

On Sun, Jun 9, 2013 at 4:38 AM, Thomas Kluyver <takowl@gmail.com> wrote:
> On 9 June 2013 03:43, Aaron Meurer <asmeurer@gmail.com> wrote:
>>
>> What is the best way to work around this? Is there a one-liner I can
>> put at the top of the notebooks? Even if there is a longer monkey
>> patch, I can put it in a file and run that file at the top of the
>> notebook.
>
>
> There's not any supported way, but at a pinch, I think monkeypatching like
> this should work:
>
> def notransform(line): return line
> from IPython.core import inputsplitter
> inputsplitter.transform_classic_prompt = notransform
>
> Thomas
>
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user
>


More information about the IPython-User mailing list