Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-19 Thread exarkun
On 12:38 pm, p.may...@imperial.ac.uk wrote: On 18/09/13 17:34, exar...@twistedmatrix.com wrote: On 04:08 pm, p.may...@imperial.ac.uk wrote: Don't people miss the symmetry of PB? Not to mention you can be lazy and avoid defining a schema! Or are people using Twisted->Other AMP connections? AM

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-19 Thread Phil Mayers
On 18/09/13 17:34, exar...@twistedmatrix.com wrote: On 04:08 pm, p.may...@imperial.ac.uk wrote: On 18/09/13 17:00, bu...@nehbit.net wrote: +1 for AMP. Wow, lots of people using AMP. Maybe I'm missing out on something... Don't people miss the symmetry of PB? Not to mention you can be lazy and

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Werner Thie
+1 for pb +1 for AMP Werner On 9/18/13 6:08 AM, Phil Mayers wrote: On 18/09/13 17:00, bu...@nehbit.net wrote: +1 for AMP. Wow, lots of people using AMP. Maybe I'm missing out on something... Don't people miss the symmetry of PB? Not to mention you can be lazy and avoid defining a schema! Or

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Burak Nehbit
My reasons are simpler: PB expects me to build my application to suit it, whereas AMP is small enough to insert into an existing application. It does one single thing and does it well. Caveat emptor, though, I'm still a Twisted newbie—I do understand AMP, but PB is right now way, way over my hea

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Phil Mayers
On 18/09/13 17:00, bu...@nehbit.net wrote: +1 for AMP. Wow, lots of people using AMP. Maybe I'm missing out on something... Don't people miss the symmetry of PB? Not to mention you can be lazy and avoid defining a schema! Or are people using Twisted->Other AMP connections? _

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread burak
+1 for AMP. Best, Burak On Sep 18, 2013, at 9:17, Phil Mayers wrote: > On 18/09/13 14:00, Phil Mayers wrote: > >> I'll have a look, but from the responses I'll assume neither pb nor AMP >> can do this, and will file a couple of tickets for reference. > > #6753 and #6754, for the curious. As

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread exarkun
On 04:08 pm, p.may...@imperial.ac.uk wrote: On 18/09/13 17:00, bu...@nehbit.net wrote: +1 for AMP. Wow, lots of people using AMP. Maybe I'm missing out on something... Don't people miss the symmetry of PB? Not to mention you can be lazy and avoid defining a schema! Or are people using Twiste

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Phil Mayers
On 18/09/13 14:00, Phil Mayers wrote: I'll have a look, but from the responses I'll assume neither pb nor AMP can do this, and will file a couple of tickets for reference. #6753 and #6754, for the curious. As the latter indicates, I don't really understand the AMP stuff; I got stuck in a twis

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Phil Mayers
On 18/09/13 13:34, exar...@twistedmatrix.com wrote: On 12:03 pm, p.may...@imperial.ac.uk wrote: Is there any support, or any interest in / way to add support for deferred cancellation in pb? Specifically I'd like do have something like: class blah(pb...): def remote_somelongtask(self, args):

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread Laurens Van Houtven
+1, particularly for AMP ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Cancelling a pb callRemote

2013-09-18 Thread exarkun
On 12:03 pm, p.may...@imperial.ac.uk wrote: Is there any support, or any interest in / way to add support for deferred cancellation in pb? Specifically I'd like do have something like: class blah(pb...): def remote_somelongtask(self, args): ... taskid = somefunc() d = defer.Defer