[Ipython-tickets] [IPython] #199: Auto-indentation problems with Leopard

IPython ipython-tickets@scipy....
Sun Nov 25 13:35:05 CST 2007


#199: Auto-indentation problems with Leopard
---------------------+------------------------------------------------------
 Reporter:  fperez   |       Owner:  fperez
     Type:  defect   |      Status:  new   
 Priority:  normal   |   Milestone:        
Component:  ipython  |     Version:        
 Severity:  normal   |    Keywords:        
---------------------+------------------------------------------------------
 As posted by Noah Gift on the mailing list, it appears auto-indention is
 not working for me.  Here is a default session:

 {{{
 [ngift@Macintosh-6 ][H:10426][J:0]> ipython
 Leopard libedit detected.
 Python 2.5.1 (r251:54863, Oct  5 2007, 21:08:09)
 Type "copyright", "credits" or "license" for more information.

 IPython 0.8.2.svn.r2848 -- 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]: def func():
    ...:
 }}}


 when I define a function it does not auto-indent.   Furthermore:

 {{{
 In [2]: clear

 In [3]: def function():
    ...:     print "This is a test"
    ...:

 In [4]: def function():                   clear
 }}}

 The clear from line 2 appears in line 3.

-- 
Ticket URL: <http://ipython.scipy.org/ipython/ipython/ticket/199>
IPython <http://ipython.scipy.org>
The IPython interactive Python system


More information about the Ipython-tickets mailing list