[IPython-dev] Spurious newline in prompts in newkernel?

Brian Granger ellisonbg at gmail.com
Mon Aug 23 23:33:56 EDT 2010


OK, I fixed this and it will go into newkernel with my next merge.

Brian

On Mon, Aug 23, 2010 at 8:09 PM, Brian Granger <ellisonbg at gmail.com> wrote:
> Haha, yes, I do have a config file that I was messing with the other
> day.  I will change the defaults in trunk/newkernel back to that of
> 0.10.
>
> Cheers,
>
> Brian
>
> On Mon, Aug 23, 2010 at 5:53 PM, Fernando Perez <fperez.net at gmail.com> wrote:
>> On Mon, Aug 23, 2010 at 11:23 AM, Brian Granger <ellisonbg at gmail.com> wrote:
>>> Hmmm, here is what 0.10 looks like for me:
>>>
>>> In [1]: a = 10
>>>
>>> In [2]: a
>>>
>>> Out[2]: 10
>>>
>>>
>>
>> Those aren't the defaults, that's picking up your config.  If you
>> start an ipython 0.10.x without a ~/.ipython dir, you get:
>>
>> (ipython-0.10.1)uqbar[~]> mv .ipython/ .ipython.tmp
>> (ipython-0.10.1)uqbar[~]> ip
>> **********************************************************************
>> Welcome to IPython. I will try to create a personal configuration directory
>> where you can customize many aspects of IPython's functionality in:
>>
>> /home/fperez/.ipython
>> Initializing from configuration:
>> /home/fperez/usr/opt/virtualenv/ipython-0.10.1/lib/python2.6/site-packages/IPython/UserConfig
>>
>> Successful installation!
>>
>> [.... snipped]
>> **********************************************************************
>> Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
>> Type "copyright", "credits" or "license" for more information.
>>
>> IPython 0.10.1 -- An enhanced Interactive Python.
>> ?         -> Introduction and overview of IPython's features.
>> %quickref -> Quick reference.
>> help      -> Python's own help system.
>> object?   -> Details about 'object'. ?object also works, ?? prints more.
>>
>> In [1]: a=10
>>
>> In [2]: a
>> Out[2]: 10
>>
>> In [3]:
>> Do you really want to exit ([y]/n)?
>> (ipython-0.10.1)uqbar[~]>
>>
>> I chose those defaults in my ocd-driven frenzy to:
>>
>> - visually group related input/output together
>>
>> - visually separate each input from its neighbors
>>
>> This set of defaults seemed to be the best balance between using
>> vertical space conservatively while providing some separation between
>> commands.
>>
>> We can tweak things later to get the above behavior back, no worries.
>> I just wanted to note it so we don't forget.
>>
>> Cheers,
>>
>> f
>>
>
>
>
> --
> Brian E. Granger, Ph.D.
> Assistant Professor of Physics
> Cal Poly State University, San Luis Obispo
> bgranger at calpoly.edu
> ellisonbg at gmail.com
>



-- 
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com



More information about the IPython-dev mailing list