[IPython-user] PyReadline: No tab completion if sys.stdout is redirected
Jörgen Stenarson
jorgen.stenarson@bostream...
Fri Jan 4 11:55:34 CST 2008
Dirk Loss skrev:
> Hi Jörgen,
>
> I think I found the problem: The string buffer passed to the
> WriteConsoleW function must not be bigger than 64k (see [1] for reference).
>
> So if our output text is longer, we have to split it into several parts
> and print each one separately. A patch is attached. It's rather
> quick&dirty but I hope you'll get the idea.
>
> Regards
> Dirk
>
> [1] http://msdn2.microsoft.com/en-us/library/ms687401.aspx
>
>
Dirk,
I have comitted a patch similar to yours. Could you update and try it out?
/Jörgen
More information about the IPython-user
mailing list