[New-bugs-announce] [issue10472] Strange tab key behaviour in interactive python 2.7 OSX 10.6.2

Daniel Harper report at bugs.python.org
Sat Nov 20 21:47:34 CET 2010


New submission from Daniel Harper <djharperuk at 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 <report at bugs.python.org>
<http://bugs.python.org/issue10472>
_______________________________________


More information about the New-bugs-announce mailing list