Re: [Twisted-Python] Passing additional arguments to errback

2013-09-06 Thread Phil Mayers
Maciej Wasilak wrote: >Hello, > >just one more question: > >Well, yes, you should, but still keep in mind that you can actually >just >> pass the request like so: >> >> .addErrback(handleErrors, request) >> >> You don't really have to save the request itself anywhere as an >attribute. >> > >if I u

Re: [Twisted-Python] Can't check elements without uri in twisted.words.xish.domish.Element

2013-09-06 Thread Goffi
Ok thanks for the precisions. On 05/09/2013 13:24, Ralph Meijer wrote: On 2013-09-04 16:43, Goffi wrote: G'day, in the method "elements" of twisted.words.xish.domish.Element, the function "generateElementsQNamed" is called event if the uri if None, so the uri is checked against None instead of

Re: [Twisted-Python] Passing additional arguments to errback

2013-09-06 Thread Maciej Wasilak
Hello, just one more question: Well, yes, you should, but still keep in mind that you can actually just > pass the request like so: > > .addErrback(handleErrors, request) > > You don't really have to save the request itself anywhere as an attribute. > if I understand correctly, when I put this i