[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 Core
files: readline_exception.patch
keywords: patch
messages: 245285
nosy: Perry Randall
priority: normal
severity: normal
status: open
title: Readline Bindings Don't Report Any Error On Completer Function Exception
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file39698/readline_exception.patch

___
Python tracker 
<http://bugs.python.org/issue24442>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue24442>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[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 
<http://bugs.python.org/issue24442>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com