[issue24442] Readline Bindings Don't Report Any Error On Completer Function Exception

2015-06-15 Thread Perry Randall
Perry Randall added the comment: Decided to update the documentation instead -- resolution: -> not a bug status: open -> closed ___ Python tracker ___ __

[issue24442] Readline Bindings Don't Report Any Error On Completer Function Exception

2015-06-12 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue24442] Readline Bindings Don't Report Any Error On Completer Function Exception

2015-06-12 Thread R. David Murray
Changes by R. David Murray : -- assignee: -> docs@python components: +Documentation -Interpreter Core nosy: +docs@python versions: -Python 3.2, Python 3.3 ___ Python tracker __

[issue24442] Readline Bindings Don't Report Any Error On Completer Function Exception

2015-06-12 Thread Perry Randall
Perry Randall added the comment: Ah yeah you're correct, on second thought I think an addition to the readline documentation is warranted, not a code change. -- ___ Python tracker _

[issue24442] Readline Bindings Don't Report Any Error On Completer Function Exception

2015-06-12 Thread Steven D'Aprano
Steven D'Aprano added the comment: I disagree that it "should not be the case", I think Python's current behaviour is correct. Although it makes debugging completer functions harder, it would not be good for a bug in the completer to raise an exception and break line editing. This is one case

[issue24442] Readline Bindings Don't Report Any Error On Completer Function Exception

2015-06-12 Thread Perry Randall
New submission from Perry Randall: Noticed this while writing a non-trivial completion function for readline.set_completer. When an exception is thrown in the completion function readline doesnt do anything, squashes the error, this should not be the case. -- components: Interpreter Co