[Twisted-Python] t.w.client.Agent exceptions

Phil Mayers p.mayers at imperial.ac.uk
Wed Mar 5 15:49:37 MST 2014


On 05/03/2014 22:08, Glyph Lefkowitz wrote:

> You're right; this is a bug in Agent.
>
> <http://twistedmatrix.com/trac/ticket/5310>

And it must be said, really quite an infuriating one ;o)

>
> For right now, yes, you're going to have to import some crappy private
> APIs.  Any chance I could convince you to submit some fixes to that
> ticket so we won't have to do that in the future? :-)

I'll have a look tomorrow; though it seems like testing that would be 
tricky, and pointers to existing examples of how to test that 
Failure-with-traceback is being raised?

Do we know what the rationale for _WrapperException was? The only place 
it's used, it wraps a single exception, which is "singularly" pointless 
(ha ha marvel at my comedy).



More information about the Twisted-Python mailing list