How do I get the currently installed tab completion function?
Chris Angelico
rosuav at gmail.com
Mon Jun 22 21:23:55 EDT 2015
On Tue, Jun 23, 2015 at 11:02 AM, Steven D'Aprano <steve at 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
More information about the Python-list
mailing list