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 instruction into my callback,
then the errback will catch errors only from the callback, and not from
agent.request, right? Such code seems hard to debug. Is this the standard
procedure in Twisted to add callbacks/errbacks inside other callbacks?
Best Regards
Maciek
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to