[issue10415] readline.insert_text documentation incomplete

2016-09-30 Thread Berker Peksag
Berker Peksag added the comment: I agree with Martin. Closing this as 'out of date' for now, but we can reopen if you could provide more information. Thanks! -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed type: -> behavior _

[issue10415] readline.insert_text documentation incomplete

2016-06-20 Thread Martin Panter
Martin Panter added the comment: In Issue 6953, I updated the documentation to indicate which underlying Readline functions etc are accessed. So perhaps that helps, so the reader knows what function to look up in the Readline documentation. Other than that, I’m not sure what else to do. It wou

[issue10415] readline.insert_text documentation incomplete

2014-03-11 Thread Matheus Vieira Portela
Matheus Vieira Portela added the comment: I could get readline.insert_text() to work, ish, without calling startup_hook. The script is attached to this message. Apparently, there is some need to call readline.redisplay() to update what's on screen. However, I can't really understand what's hap

[issue10415] readline.insert_text documentation incomplete

2014-03-05 Thread Berker Peksag
Berker Peksag added the comment: Documentations of insert_test and set_startup_hook functions are unchanged since 2007. See revision 9e1529bf0442 (warning, huge diff!). -- nosy: +berker.peksag versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2 ___

[issue10415] readline.insert_text documentation incomplete

2014-03-05 Thread Matheus Portela
Matheus Portela added the comment: Apparently, the documentation was already changed to reflect the behaviour of startup_hook. Should this issue be closed? -- nosy: +Matheus.Portela ___ Python tracker ___

[issue10415] readline.insert_text documentation incomplete

2010-12-25 Thread Éric Araujo
Éric Araujo added the comment: Hi Justin, thanks for the report and patch. Would you like to turn your suggestion into a patch? Guidelines are at http://www.python.org/dev/patches/ -- nosy: +eric.araujo versions: +Python 2.7, Python 3.2 ___ Python

[issue10415] readline.insert_text documentation incomplete

2010-11-13 Thread Justin Lebar
Justin Lebar added the comment: Actually, maybe startup_hook doesn't do what it sounds like it does and insert_text() only works from startup_hook. If this is the case, then the documentation for startup_hook could also be improved: > The startup_hook function is called with no arguments jus

[issue10415] readline.insert_text documentation incomplete

2010-11-13 Thread Justin Lebar
New submission from Justin Lebar : 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 some