[IPython-user] help issues

Arnd Baecker arnd.baecker at web.de
Tue Jun 29 02:12:21 CDT 2004


Hi Fernando,

On Sun, 27 Jun 2004, Fernando Perez wrote:

[...]

> ---> This opened up the help page correctly.
>
> This behavior seems as normal as I can expect it.  Let me know if you find
> other cases where the behavior is sub-optimal, and I'll track them down.

So after installing a fresh python 2.3.4, Numeric, ..., CVS scipy,
and CVS IPython I was prepared to go through my list of help problems.
Good news: I think there are no issues concerning help left!

But I found the following:

Pasting the following lines 3 lines
#########################################
def f(x):
    """doc string for f(x)"""
    return x*x
#########################################
in IPython 0.0.6 worked fine and gave
In [1]: def f(x):
   ...:     """doc string for f(x)"""
   ...:     return x*x
   ...:
In [2]:

Now with 0.6.1.cvs I get

In [1]: def f(x):
   ...:         """doc string for f(x)"""
   ...:             return x*x
------------------------------------------------------------
   File "<console>", line 3
     return x*x
     ^
SyntaxError: invalid syntax

Somehow IPython auto-indents now
(which is nice on one hand, but ...). I am not sure
if there is an easy solution for this (How should
Ipython know whether input is typed or pasted?)

Another, really minor one:
When using the pysh profile the color scheme is
not taken into account
(so somehow one should query the color scheme from
ipythonrc in ipythonrc-pysh and set the prompt accordingly)

Unfortunately, at the moment I don't have more time
for testing all the new cool features ...

All the best,

Arnd




More information about the IPython-user mailing list