Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93280
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone05.am1.xlned.com!bcyclone05.am1.xlned.com!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.006 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'bytes.': 0.07; 'subject:both': 0.07; 'subject:same': 0.07; 'issue?': 0.09; 'tab': 0.09; 'cc:addr:python-list': 0.10; 'python': 0.11; 'obviously': 0.15; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'using,': 0.16; 'wrote:': 0.16; 'gui': 0.18; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'am,': 0.23; '2015': 0.23; 'this:': 0.23; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'testing': 0.25; 'wonder': 0.27; 'issue,': 0.27; 'subject: -- ': 0.27; 'message- id:@mail.gmail.com': 0.28; 'readline': 0.29; 'subject:time': 0.31; 'anyone': 0.32; 'problem': 0.33; "d'aprano": 0.33; 'steven': 0.33; 'subject:?': 0.34; 'this?': 0.34; 'received:google.com': 0.34; 'confirmed': 0.35; 'subject:: ': 0.37; 'suggestion': 0.37; 'instead': 0.38; 'subject:-': 0.39; 'subject:the': 0.40; "you'll": 0.61; '3.6': 0.84; '4:55': 0.84; 'chrisa': 0.84; 'replicate': 0.84; 'to:none': 0.90 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=VGdSNcKw0b+wgN32vv3/lWaS0Ez2j83jKPL0qm7YT4M=; b=XjHOnxw+a1LghxVR0JmRXtM0+FZ67oOKjMMFYPEuY1sGBcu76wDuikcBCmR2LN0ceN 0hgrR/xz2xJrTk6Ukz8cVT2E1TyjRTcaxosaQDKlnm+qVYpEkJ8ZeM0dGz+RlF7sdq+k xfd4NOmYgxMlglw8w7ULils2BMtFj297LYwx68vAGngeWHbwcYELZhjC8F9av8MDOM6F VbBigr3WEftJ+NVOINnaCnW+YAeUXxGCHzr11HkMGRIUV1xfE0h0thMBwvHYu9/ry4B9 arovmhdIlG5J+jcE0H2pPjtlV3o502h6ihfzJztAgb1lHNjUnvg8vyBmrs8HVr0RaBYP rq6Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.2.3 with SMTP id 3mr12101431igq.34.1435541785332; Sun, 28 Jun 2015 18:36:25 -0700 (PDT) |
| In-Reply-To | <55904328$0$1636$c3e8da3$5496439d@news.astraweb.com> |
| References | <55904328$0$1636$c3e8da3$5496439d@news.astraweb.com> |
| Date | Mon, 29 Jun 2015 11:36:25 +1000 |
| Subject | Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| 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.154.1435541792.3674.python-list@python.org> (permalink) |
| Lines | 19 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1435541792 news.xs4all.nl 2836 [2001:888:2000:d::a6]:42878 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 3910 |
| X-Received-Body-CRC | 4106995154 |
| Xref | csiph.com comp.lang.python:93280 |
Show key headers only | View raw
On Mon, Jun 29, 2015 at 4:55 AM, Steven D'Aprano <steve@pearwood.info> wrote: > Try Ctrl-TAB again, and you'll get "raise" instead of "import". > > Can anyone else replicate this issue? > > Is this a Python issue, a problem with the terminal I am using, or readline > in general? Confirmed with Python 3.6 on Debian Jessie. Delving into Laura's suggestion that it's a readline problem, I came across this: http://stackoverflow.com/questions/12044574/getting-complete-and-menu-complete-to-work-together Testing with "showkey -a" suggests that tab and ctrl-tab indeed send the same bytes. I wonder if there's a way to change terminal type or fiddle with terminfo to change this? GUI programs obviously don't have this conflation. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Readline -- cannot bind to both Ctrl-tab and tab at the same time? Steven D'Aprano <steve@pearwood.info> - 2015-06-29 04:55 +1000
Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Laura Creighton <lac@openend.se> - 2015-06-28 23:22 +0200
Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Chris Angelico <rosuav@gmail.com> - 2015-06-29 11:36 +1000
Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Tony the Tiger <tony@tiger.invalid> - 2015-07-09 20:03 +0000
Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Marko Rauhamaa <marko@pacujo.net> - 2015-07-09 23:42 +0300
Re: Readline -- cannot bind to both Ctrl-tab and tab at the same time? Michael Torrie <torriem@gmail.com> - 2015-07-09 22:56 -0600
csiph-web