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

2013-10-02 Thread Phil Mayers
On 02/10/13 15:00, exar...@twistedmatrix.com wrote: BTW, I'm not sure what you plan to do with this connection, but if you haven't seen `twisted.conch.endpoints` (and ) then you probably want to look. ZOMG I had not seen the (existing) Conch endpoints before. Amazing, and

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

2013-10-02 Thread Donald Stufft
On Oct 2, 2013, at 10:00 AM, exar...@twistedmatrix.com wrote: > On 01:31 pm, don...@stufft.io wrote: >> >> On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: >>> On 01:21 am, don...@stufft.io wrote: I have two pieces of code (see: https://gist.github.com/dstufft/9dc9978dc0af

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

2013-10-02 Thread exarkun
On 01:31 pm, don...@stufft.io wrote: On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: On 01:21 am, don...@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) an

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

2013-10-02 Thread Donald Stufft
On Oct 2, 2013, at 9:20 AM, exar...@twistedmatrix.com wrote: > On 01:21 am, don...@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 >>

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

2013-10-02 Thread Laurens Van Houtven
On Wed, Oct 2, 2013 at 3:20 PM, wrote: > Where's the second piece of code? > The gist has two files in it. hth lvh ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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

2013-10-02 Thread exarkun
On 01:21 am, don...@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 unders

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

2013-10-01 Thread Donald Stufft
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 connect