tabs and the Python3 console

Laura Creighton lac at openend.se
Tue Feb 10 11:41:27 EST 2015


In a message of Tue, 10 Feb 2015 16:50:54 +0100, Vincent Vande Vyvre writes:
>Le 10/02/2015 15:36, 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
>>
>>
>
>It's a recent change (3.4), use the argument -S if you want the old 
>behaviour
>
>https://docs.python.org/3/library/site.html#rlcompleter-config
>
>Vincent

Thank you very, very much.

Laura




More information about the Python-list mailing list