[Twisted-Python] Conch - Why does one piece of code "fail" while another works

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Wed Oct 2 07:20:54 MDT 2013


On 01:21 am, donald at stufft.io wrote:
>I have two pieces of code (see: 
>https://gist.github.com/dstufft/9dc9978dc0af77e82f0c) one "works" (in 
>that it fails verifying the host key like i'd expect) and one doesn't 
>("it never tries to verify the host key and just exists immediately).
>
>I don't understand *why* though, why does the connectionReady dance 
>make it work?

Where's the second piece of code?

Jean-Paul



More information about the Twisted-Python mailing list