[issue13946] readline completer could return an iterable

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13946] readline completer could return an iterable

2014-07-03 Thread Mark Lawrence
Mark Lawrence added the comment: Is this a good, bad or indifferent idea? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13946 ___

[issue13946] readline completer could return an iterable

2014-07-03 Thread Josh Rosenberg
Josh Rosenberg added the comment: I agree the design requiring it to pass the same information over and over is a bit odd (I've occasionally had cause to borrow some of ipython's niftyness for a plain Python terminal, and making custom completers work is one of the more awkward parts of the

[issue13946] readline completer could return an iterable

2012-02-11 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13946 ___ ___

[issue13946] readline completer could return an iterable

2012-02-05 Thread Nicolas
New submission from Nicolas nicolas-gau...@laposte.net: The function set by readline.set_completer must return one completion per call. This should be great if we can return an iterable, because with current implementation I have to write a wrapper: cache = None def completer(text, state):