Re: [Twisted-Python] jQuery.Deferred - why did they have to go and change the interface?

2011-06-27 Thread Jonathan Lange
On Mon, Jun 27, 2011 at 10:53 PM, Richard Wall wrote: ... > Does anyone else hate the confusing new method names they've chosen? > Why couldn't they just stick with the tried and tested > interface...aargh...it really pisses me off! Patches acc... Oh wait, wrong project. Sorry. jml

Re: [Twisted-Python] jQuery.Deferred - why did they have to go and change the interface?

2011-06-27 Thread Amaury Forgeot d'Arc
2011/6/28 Glyph Lefkowitz : > On Jun 27, 2011, at 5:53 PM, Richard Wall wrote: > > Does anyone else hate the confusing new method names they've chosen? > > Yes. No! Because it's not a Deferred. The JQuery Deferred has only a slight resemblance with Twisted's. Looking at the source code https://gi

Re: [Twisted-Python] jQuery.Deferred - why did they have to go and change the interface?

2011-06-27 Thread Jasper St. Pierre
Not only that, but it doesn't do callback chaining, which is a huge disappointment. On Mon, Jun 27, 2011 at 5:53 PM, Richard Wall wrote: > I'm in the process of switching some of my Javascript code from > MochiKit.Async.Deferred to the recently introduced jQuery.Deferred. > > Does anyone else hat

Re: [Twisted-Python] jQuery.Deferred - why did they have to go and change the interface?

2011-06-27 Thread Glyph Lefkowitz
On Jun 27, 2011, at 5:53 PM, Richard Wall wrote: > Does anyone else hate the confusing new method names they've chosen? Yes. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-pyt

[Twisted-Python] jQuery.Deferred - why did they have to go and change the interface?

2011-06-27 Thread Richard Wall
I'm in the process of switching some of my Javascript code from MochiKit.Async.Deferred to the recently introduced jQuery.Deferred. Does anyone else hate the confusing new method names they've chosen? Why couldn't they just stick with the tried and tested interface...aargh...it really pisses me of

[Twisted-Python] PB and FilePager

2011-06-27 Thread Jonathan Stoppani
Hi there, I encountered a problem while dealing with file transfers using PB and t.s.u.FilePager. The sscce illustrates the problem: - server.py -- from twisted.spread import pb from twisted.internet import reactor ROOT = '/tmp/' class I

Re: [Twisted-Python] twisted.cred implementation for LDAP, anyone?

2011-06-27 Thread Glyph Lefkowitz
On Jun 27, 2011, at 7:35 AM, Anton Gyllenberg wrote: > On Thu, Jun 23, 2011 at 8:01 PM, Glyph Lefkowitz > wrote: >> On Jun 22, 2011, at 10:04 AM, Anton Gyllenberg wrote: >>> The Ldaptor license is LGPL and I think it has always been LGPL. I'm >>> not sure, as it was well before my time, but I be

Re: [Twisted-Python] twisted.cred implementation for LDAP, anyone?

2011-06-27 Thread Anton Gyllenberg
On Thu, Jun 23, 2011 at 8:01 PM, Glyph Lefkowitz wrote: > On Jun 22, 2011, at 10:04 AM, Anton Gyllenberg wrote: >> The Ldaptor license is LGPL and I think it has always been LGPL. I'm >> not sure, as it was well before my time, but I believe early Ldaptor >> code was part of Twisted but was broken