tabs and the Python3 console

wxjmfauth at gmail.com wxjmfauth at gmail.com
Tue Feb 10 11:32:27 EST 2015


Le mardi 10 février 2015 15:37:18 UTC+1, Laura Creighton a écrit :
> I have the debian version of python3 installed here.
> 
> Python 3.4.2 (default, Nov 13 2014, 07:01:52) 
> [GCC 4.9.2] on linux
> Type "help", "copyright", "credits" or "license" for more information.
> >>> 
> 
> But I cannot seem to type a tab here:
> 
> >>> def fn(**kw):
> ...
> 
> (I type a tab here, and get a beep.  If I type a tab again I get:
> 
> Display all 178 possibilities? (y or n)
> ArithmeticError(            chr(
> AssertionError(             class
> AttributeError(             classmethod(
> BaseException(              compile(
> BlockingIOError(            complex(
> BrokenPipeError(            continue
> <lots more skipped, because you get the idea>
> ...
> 
> Do I need a python3 enabled with readline support, or something?
> 
> Thanks very much,
> Laura Creighton

Does it mean, that you can not insert two consecutive tabs
because some brillant devs have decided that inserting two
consecutive tabs is doing something else than really
inserting two tabs?
What a world!



More information about the Python-list mailing list