Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93024
| References | <5588b01b$0$1649$c3e8da3$5496439d@news.astraweb.com> |
|---|---|
| Date | 2015-06-23 11:23 +1000 |
| Subject | Re: How do I get the currently installed tab completion function? |
| From | Chris Angelico <rosuav@gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.716.1435022639.13271.python-list@python.org> (permalink) |
On Tue, Jun 23, 2015 at 11:02 AM, Steven D'Aprano <steve@pearwood.info> wrote: > How do I get the currently installed completer? > > Solutions for any version of Python acceptable, but if they work all the way > back to 2.4 or older, even better. Whether there's a way to avoid the whole try/finally I can't say, but I just went looking for the obvious "readline.get_completer()", and it does seem to be there. Is there something I'm missing here? Found it on 3.4, 3.5, 3.6, and 2.7, but I don't have anything older to test on. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How do I get the currently installed tab completion function? Steven D'Aprano <steve@pearwood.info> - 2015-06-23 11:02 +1000
Re: How do I get the currently installed tab completion function? Chris Angelico <rosuav@gmail.com> - 2015-06-23 11:23 +1000
Re: How do I get the currently installed tab completion function? Steven D'Aprano <steve@pearwood.info> - 2015-06-23 11:41 +1000
Re: How do I get the currently installed tab completion function? Chris Angelico <rosuav@gmail.com> - 2015-06-23 12:02 +1000
Re: How do I get the currently installed tab completion function? Steven D'Aprano <steve@pearwood.info> - 2015-06-23 12:32 +1000
csiph-web