twisted: not doing DNS resolutions?
Christopher Subich
spam.csubich+block at block.subich.spam.com
Thu Jun 30 05:02:19 EDT 2005
Christopher Subich wrote:
> Christopher Subich wrote:
>
>> From what I can tell, the problem lies in that Twisted simply isn't
>> performing the DNS resolutions. From the connection factory's
... right, finally figured it out after a very long time at debugging
the beast.
It's an interaction with IDLE.
What happens is that the deferToThread call in twisted's lookup Just
Doesn't Run Right (under some circumstances) when it's run under IDLE
with tksupport. I finally got the idea to run the application from the
command line, and it worked just fine. This is kind of odd, since a
trivial test case run from the interactive idle prompt works okay, but
it's now 5am and I'm going to sleep.
Moral: beware the IDLEs of March.
More information about the Python-list
mailing list