Hi Glyph,

I re-opened 4456 and attached a patch. I think that's this issue. The only 
other one I found in the tickets was for Conch and that one was marked fixed. 

-J

Sent via iPhone

Is your e-mail Premiere?

On Mar 11, 2011, at 9:51, Glyph Lefkowitz <gl...@twistedmatrix.com> wrote:

> On Mar 11, 2011, at 2:25 AM, Jason J. W. Williams wrote:
> 
>> Setting it as a class level attribute seems to suppress it:
>> 
>>>>> class TestError(Exception):
>> ...     message = ""
>> ...
>> ...     def __init__(self, msg):
>> ...        self.message = msg
>> 
>> Since it's a string and passed by value I think this would work. I'll
>> open up a ticket if one's not already.
> 
> Sounds good.  I can't find one, but there have been other tickets with a 
> similar purpose ('message' attributes on other exceptions).
> 
> If you have time after fixing this issue, it would be nice if you could 
> double-check that there aren't any more of these lurking around :).
> 

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to