Re: [Twisted-Python] twisted.web.error.Error & BaseException.message deprecation

2011-03-11 Thread Glyph Lefkowitz
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

Re: [Twisted-Python] twisted.web.error.Error & BaseException.message deprecation

2011-03-11 Thread Jason J. W. Williams
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 wrote: > On Mar 11, 2011, at 2:25 AM, Jas

[Twisted-Python] UDP Logging Server

2011-03-11 Thread SIC FS LIST
Hello, I am trying to write a UDP based logging server. Generically speaking it looks somewhat like syslog except I needed a bit more flexibility that syslog can provide (or at least that I think it can provide). What I'm trying to accomplish is: -- receive UDP packet -- parse UDP packet -- writ

Re: [Twisted-Python] twisted.web.error.Error & BaseException.message deprecation

2011-03-11 Thread Glyph Lefkowitz
On Mar 11, 2011, at 12:52 PM, Jason J. W. Williams wrote: > 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. Thanks! At the latest, this should get reviewed at the sprint.

Re: [Twisted-Python] twisted.web.error.Error & BaseException.message deprecation

2011-03-11 Thread Jason J. W. Williams
Pleasure. :) -J On Fri, Mar 11, 2011 at 2:28 PM, Glyph Lefkowitz wrote: > > On Mar 11, 2011, at 12:52 PM, Jason J. W. Williams wrote: > >> 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 wa

Re: [Twisted-Python] UDP Logging Server

2011-03-11 Thread Tim Allen
On Fri, Mar 11, 2011 at 01:15:47PM -0600, SIC FS LIST wrote: > So far I have a "working" implementation ... but I'm noticing that if I do > the following: > -- log when a message is received > -- that for that message it "might" show up in the file a pretty lengthy > period of time later Assuming

Re: [Twisted-Python] Failing tests in trunk

2011-03-11 Thread Facundo Batista
On Thu, Mar 10, 2011 at 9:51 PM, wrote: >> __init__ and leave it there, or use other formatting (not >> time.strftime, I prefer this solution). > > I agree with your preference, switching away from time.strftime is probably > the right thing to do. Opened a ticket for this, patch attached: