New submission from Daniel Harper <djharpe...@gmail.com>:

Hi there. 

I recently downloaded the python 2.7 installer from the python website and 
installed it on my Mac. 

When I run python2.7 in interactive mode, the tab key doesn't seem to behave as 
how it did in 2.6.

For example


>> def helloWorld(name):                                                        
>>             
... ./                                                                          
          File "<stdin>", line 2   
    ./                                                                          
          
    ^                                                                           
            
IndentationError: expected an indented block     

When you hit tab it seems to think I want to browse the contents of the current 
directory I'm in, rather than placing a tab character so I can quickly use 
python in interactive mode to prototype stuff.

I'd imagine it's something to do with GNU readline, but I'm pretty sure I have 
this installed

----------
assignee: ronaldoussoren
components: Macintosh
messages: 121766
nosy: Daniel.Harper, ronaldoussoren
priority: normal
severity: normal
status: open
title: Strange tab key behaviour in interactive python 2.7 OSX 10.6.2
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10472>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to