[IPython-dev] Broken autocall in trunk/

Fernando.Perez at colorado.edu Fernando.Perez at colorado.edu
Mon Feb 6 17:56:14 CST 2006


This is correct:

IPython 0.7.1.fix1 -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: def foo(x): x
   ...:

In [2]: foo 'a b'
------> foo('a b')


But in trunk/, I'm seeing:

IPython 0.7.2.svn -- An enhanced Interactive Python.
?       -> Introduction to IPython's features.
%magic  -> Information about IPython's 'magic' % functions.
help    -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.

In [1]: def foo(x): x
   ...:

In [2]: foo 'a b'
------> foo('a,b')


Notice the (incorrect) spurious comma introduced in there.  Any idea where this
may be coming from?  I could have introduced it inadvertedly, but I don't
recall touching any code where this could have changed at all...

Cheers,

f




More information about the IPython-dev mailing list