Message173519
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. |
|
Date |
User |
Action |
Args |
2012-10-22 13:54:06 | ronaldoussoren | set | recipients:
+ ronaldoussoren, ned.deily, scates |
2012-10-22 13:54:06 | ronaldoussoren | set | messageid: <1350914046.81.0.682070455721.issue13376@psf.upfronthosting.co.za> |
2012-10-22 13:54:06 | ronaldoussoren | link | issue13376 messages |
2012-10-22 13:54:06 | ronaldoussoren | create | |
|