[Twisted-web] _win32stdio

Manlio Perillo manlio_perillo at libero.it
Fri Sep 29 16:19:23 CDT 2006

glyph at divmod.com ha scritto:
> On Fri, 29 Sep 2006 22:45:07 +0200, Manlio Perillo
> <manlio_perillo at libero.it> wrote:
>> There are specific reasons for why _win32stdio should be attached at
>> something else that is not a Console Handle?
> Yes.  The stdio module is primarily designed for a subprocess spawned
> with spawnProcess to talk to its parent over pipes. 

That is, web2.channel.cgi?

> As I understand it,
> providing access to the win32 console using the same mechanism would
> effectively involve writing a terminal emulator.

I think this is really needed, because the conch script needs this to be
portable to Windows.

> If you want to use the win32 console, you'll need to use a module
> specifically for doing that, not Twisted.

Nobody is interested in writing a generic interface to a terminal,
working on both POSIX and Windows?

Regards  Manlio Perillo

More information about the Twisted-web mailing list