On Sat, 14 Apr 2007 10:19:03 -0700
"Tony Cappellini" <[EMAIL PROTECTED]> wrote:

> This is probably the most well-known readline for WIndows
> 
> http://ipython.scipy.org/moin/PyReadline/Intro
> 
> 
> > To: Gerard Vermeulen <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED]
> > Message-ID: <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> >
> > On 13/04/2007 23.12, Gerard Vermeulen wrote:
> >
> > >>In fact, it does not work on Windows because it relies on
> > >>readline, and Python does not have any readline implementation
> > >>under Windows. readline
> > itself is UNIX-only.

PyReadline does not work.  The GNU readline library calls a 'user'
defined function through a function pointer (PyOS_InputHook) at a rate
of 10 Hz.  The new feature in PyQt makes use of the PyOS_InputHook
pointer.  PyReadline does not handle PyOS_InputHook (tested), neither
do most of the Python readline replacements for Windows that I found
(by looking at the code).

Regards -- Gerard

_______________________________________________
PyQt mailing list    [EMAIL PROTECTED]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to