[IPython-dev] [IPython-user] IPython 0.8.2 and PyReadline 1.5, getting ready for release...

Fernando Perez fperez.net at gmail.com
Sat Nov 24 14:26:25 EST 2007


On Nov 24, 2007 11:29 AM, Noah Gift <noah.gift at gmail.com> wrote:
> So far I like %doctest_mode
>
> It is a good start, nice work!!  No other weirdness I have noticed,
> other than a simple user error problem, of not knowing how to get a
> four space tab to work when I define a function:
>
> def function:
>
> I am sure this is user error, but I am stuck with doing four spaces,
> as a tab will automatically try to autocomplete.

Two things:

1. why do you need the explicit tab in the above case?  Is the
auto-indenting not working for you?  That would certainly qualify as a
bug.

2. By default, we bind ctrl-i to inserting an explicit tab for
indentation purposes.  That can be changed to any other key in the
configuration.

Cheers,

f



More information about the IPython-dev mailing list