[IPython-user] %doctest_mode alters nosep 1 setting

Fernando Perez fperez.net@gmail....
Wed Jan 30 00:32:30 CST 2008


On Jan 29, 2008 4:50 PM, Jeff Kowalczyk <jtk@yahoo.com> wrote:
> (reposted after subscribing, apologies for any duplicate in the queue)
>
> I use the following in my ipythonrc:
>
> prompt_in1 '>>> '
> prompt_in2 '... '
> prompt_out ''
> separate_in 0
> separate_out 0
> separate_out2 0
> nosep 1
>
> At startup, the propmt behaves much like the python console, as intended.
> Once I enable >>> %doctest-mode, I get a newline after input, as if the
> configuration were: separate_in \n.
>
> How do I inspect this setting, and where can I modify the doctest-mode
> profile in my local ~/.ipython/ so that it no longer has this output
> behaviour?

Fixed in SVN, r2996.  Thanks for reporting it, I'd been overly
aggressive in overriding the prompt setup to conform to doctest
settings.

Cheers,

f


More information about the IPython-user mailing list