Re: [Python-Dev] Suggested API change to PyOS_InputHook

2008-06-23 Thread Michael Abbott
On Mon, 23 Jun 2008, Aahz wrote: > Then don't bother posting code to the list. Please post a patch; up to > you whether you send a notice to python-dev. Very well. Issue 3180 created. I hope I'm doing it right... ___ Python-Dev mailing list Python-D

[Python-Dev] Suggested API change to PyOS_InputHook

2008-06-23 Thread Michael Abbott
I have a problem with the PyOS_InputHook() API as implemented by Modules/readline.c: there is no way to communicate any interruption seen while waiting at the keyboard back to the process actually reading the line. I have solved this in my own application by creating a new module which reimple