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 Justin.Lebar
Recipients Justin.Lebar, docs@python
Date 2010-11-14.07:12:12
SpamBayes Score 6.177793e-05
Marked as misclassified No
Message-id <1289718734.94.0.0887962692453.issue10415@psf.upfronthosting.co.za>
In-reply-to
Content
The readline documentation currently says:

> readline.insert_text(string)
>     Insert text into the command line.

But as far as I can tell, readline.insert_text() does something only when called from startup_hook or pre_input_hook.

Here's an example of someone using the module in a way that works:

http://swapoff.org/svn/cly/tags/0.7/cly/interactive.py
History
Date User Action Args
2010-11-14 07:12:15Justin.Lebarsetrecipients: + Justin.Lebar, docs@python
2010-11-14 07:12:14Justin.Lebarsetmessageid: <1289718734.94.0.0887962692453.issue10415@psf.upfronthosting.co.za>
2010-11-14 07:12:13Justin.Lebarlinkissue10415 messages
2010-11-14 07:12:13Justin.Lebarcreate