This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ned.deily, ronaldoussoren, scates
Date 2012-10-22.13:54:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1350914046.81.0.682070455721.issue13376@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-10-22 13:54:06ronaldoussorensetrecipients: + ronaldoussoren, ned.deily, scates
2012-10-22 13:54:06ronaldoussorensetmessageid: <1350914046.81.0.682070455721.issue13376@psf.upfronthosting.co.za>
2012-10-22 13:54:06ronaldoussorenlinkissue13376 messages
2012-10-22 13:54:06ronaldoussorencreate