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


Groups > comp.lang.python > #85452

Re: tabs and the Python3 console

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <vincent.vande.vyvre@telenet.be>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.023
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'argument': 0.05; 'laura': 0.07; 'python3': 0.07; 'creighton': 0.09; 'subject:Python3': 0.09; 'python': 0.11; 'def': 0.12; 'from:name:vincent vande vyvre': 0.16; 'received:195.130': 0.16; 'received:195.130.137': 0.16; 'received:telenet-ops.be': 0.16; 'tab': 0.16; '\xe9crit': 0.16; 'header:User-Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'installed': 0.27; '>>>>': 0.31; 'enabled': 0.31; 'class': 0.32; 'linux': 0.33; 'url:python': 0.33; 'subject:the': 0.34; 'display': 0.35; 'but': 0.35; 'version': 0.36; 'thanks': 0.36; 'url:org': 0.36; 'nov': 0.38; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; 'support,': 0.39; 'to:addr:python.org': 0.39; 'url:3': 0.61; 'here:': 0.62; 'more': 0.64; 'charset:windows-1252': 0.65; 'header:Reply-To:1': 0.67; 'reply- to:no real name:2**0': 0.71; '2014,': 0.84; 'much,': 0.84; 'subject:tabs': 0.84
Date Tue, 10 Feb 2015 16:50:54 +0100
From Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version 1.0
To python-list@python.org
Subject Re: tabs and the Python3 console
References <201502101436.t1AEafIH032349@fido.openend.se>
In-Reply-To <201502101436.t1AEafIH032349@fido.openend.se>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To vincent.vandevyvre@oqapy.eu
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.18613.1423584163.18130.python-list@python.org> (permalink)
Lines 36
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1423584163 news.xs4all.nl 2856 [2001:888:2000:d::a6]:50557
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:85452

Show key headers only | 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