Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #85452

Re: tabs and the Python3 console

Date 2015-02-10 16:50 +0100
From Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
Subject Re: tabs and the Python3 console
References <201502101436.t1AEafIH032349@fido.openend.se>
Newsgroups comp.lang.python
Message-ID <mailman.18613.1423584163.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: tabs and the Python3 console Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2015-02-10 16:50 +0100

csiph-web