Michael Tharp wrote:
> On 05/03/2010 09:46 AM, Gabriel Rossetti wrote:
>> f.trap(MyException) raises MyException and f.value == MyException
>> evaluates to True as expected, so why isn't it being trapped?
>
> f.value should be an instance of MyException, not the class itself.
> Perhaps you are doi
On 05/03/2010 09:46 AM, Gabriel Rossetti wrote:
> f.trap(MyException) raises MyException and f.value == MyException
> evaluates to True as expected, so why isn't it being trapped?
f.value should be an instance of MyException, not the class itself.
Perhaps you are doing something like Failure(MyEx
Hello everyone,
I'm getting something strange:
f.trap(MyException) raises MyException and f.value == MyException
evaluates to True as expected, so why isn't it being trapped?
Thanks, Gabriel
___
Twisted-Python mailing list
Twisted-Python@twistedmat