tabs and the Python3 console
Vincent Vande Vyvre
vincent.vande.vyvre at telenet.be
Tue Feb 10 10:50:54 EST 2015
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
More information about the Python-list
mailing list