Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-11-20 Thread Laurens Van Houtven
*deep necromantic thread magic* On Thu, Oct 3, 2013 at 11:54 AM, Glyph wrote: > If I can change "proto" to mean "actually the protocol not something else" > then that seems plenty easy to add, and it would definitely be cool if > people don't have to mess with this nonsense themselves for someth

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-10-03 Thread Glyph
> On Oct 1, 2013, at 1:13 AM, Laurens Van Houtven <_...@lvh.io> wrote: > >> On Tue, Oct 1, 2013 at 12:59 AM, Glyph wrote: >> >> Most of the code I can think of that wants to use that really wants the >> transport rather than the "protocol", > > Yes, but having the protocol would also immediat

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-10-01 Thread Laurens Van Houtven
On Tue, Oct 1, 2013 at 12:59 AM, Glyph wrote: > Most of the code I can think of that wants to use that really wants the * > transport* rather than the "protocol", > Yes, but having the protocol would also immediately give you access to the transport, and, from what I understand in most cases of

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-09-30 Thread Glyph
On Sep 30, 2013, at 12:09 PM, Laurens Van Houtven <_...@lvh.io> wrote: > Hi Glyph, > > Thanks for your response! > > On Mon, Sep 30, 2013 at 8:41 PM, Glyph wrote: > On Sep 30, 2013, at 2:45 AM, Laurens Van Houtven <_...@lvh.io> wrote: > >> What am I doing wrong? Is this a bug? > > I think it

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-09-30 Thread Laurens Van Houtven
Hi Glyph, Thanks for your response! On Mon, Sep 30, 2013 at 8:41 PM, Glyph wrote: > On Sep 30, 2013, at 2:45 AM, Laurens Van Houtven <_...@lvh.io> wrote: > > What am I doing wrong? Is this a bug? > > > I think it's pretty clearly a bug. Calling the argument "proto" in the > first place indicat

Re: [Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-09-30 Thread Glyph
On Sep 30, 2013, at 2:45 AM, Laurens Van Houtven <_...@lvh.io> wrote: > What am I doing wrong? Is this a bug? I think it's pretty clearly a bug. Calling the argument "proto" in the first place indicates the nature of the confusion. There are parts of the flow here from bytes to method executi

[Twisted-Python] AMP Argument.toBox's proto argument is a locator, not the proto?

2013-09-30 Thread Laurens Van Houtven
Hi everyone, I think I've hit one of those cases where AMP really seems to want everything (locator, receiver, sender) to be an instance of t.p.amp.AMP :-( I've written some code that tries to multiplex stream transports over AMP: https://github.com/lvh/txampext/blob/multiplexing/txampext/multi