Ronald Oussoren added the comment:

1) Issue is still present with libedit on OSX 10.8

2) Libedit on OSX doesn't call rl_pre_input_hook when using the '#if 
defined(HAVE_RL_CALLBACK) && defined(HAVE_SELECT)' branch in the readline 
extension (that is, not calling readline(3), but using rl_callback_read_char).

3) When I patch pyconfig.h to enable the code patch that does use readline the 
callback gets called, but that doesn't affect the readline buffer.

Manually ensuring that the pre_input_hook is called at the right time is easy 
enough, but I don't have time to research why readline.insert_text (and/or 
readline.redisplay) doesn't work. The source code at 
<http://www.opensource.apple.com/source/libedit/libedit-31/src/readline.c> 
looks fine.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13376>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to