[Twisted-Python] Problems with code in "Twisted" book ...

Jean-Paul Calderone exarkun at divmod.com
Thu Oct 12 15:44:02 EDT 2006

On Tue, 10 Oct 2006 11:34:24 -0600, "Walsh, Sandy" <swalsh at ncipher.com> wrote:
>Hey there,
>Just got a copy of "Twisted" and I've been playing around with the book
>examples. Can't seem to get the "Example 2-6. dataforward.py" to work on
>Windows. I've reverted back to Python 2.3 (because I ultimately want to
>use the secure stuff later). It compiles and runs, but I get no echo of
>the input and the reactor seems to be frozen. When I Ctrl-C the program
>I get my keyed input spewed into the console, so it seems python is not
>receiving it.

I can at least confirm that it doesn't work for me on Windows, either.  I
couldn't say why without doing more investigation, though.  The
dataforward.py example looks a little more complex than it needs to be, but
not obviously broken.  This may simply be poor stdio handling on Windows.

>Is there a place I can check for the latest code from the book or is
>there a more suitable place to ask questions of this type?


More information about the Twisted-Python mailing list