Re: [Twisted-Python] What's the purpose of __?

2011-02-15 Thread Jason Rennie
In case you haven't seen it, here's what the python tutorial says about double-underscore: http://docs.python.org/tutorial/classes.html#private-variables Jason On Tue, Feb 15, 2011 at 5:36 AM, Attila Nagy wrote: > Hi, > > I'm trying to do an LMTP implementation based on smtp.py and came to the

Re: [Twisted-Python] What's the purpose of __?

2011-02-15 Thread Phil Christensen
On Feb 15, 2011, at 5:36 AM, Attila Nagy wrote: > Hi, > > I'm trying to do an LMTP implementation based on smtp.py and came to the > issue of class private variables with double underscores. > Examples: > http://twistedmatrix.com/trac/browser/trunk/twisted/mail/smtp.py#L746 > http://twistedmatrix

Re: [Twisted-Python] sigchld

2011-02-15 Thread Jason Rennie
Thanks for all the help. We're going with addSystemEventTrigger for now, but we'll keep twistd in mind for future work. Jason On Fri, Feb 11, 2011 at 1:51 PM, Glyph Lefkowitz wrote: > > On Feb 11, 2011, at 11:55 AM, exar...@twistedmatrix.com wrote: > > > On 03:59 pm, jren...@gmail.com wrote: >

[Twisted-Python] What's the purpose of __?

2011-02-15 Thread Attila Nagy
Hi, I'm trying to do an LMTP implementation based on smtp.py and came to the issue of class private variables with double underscores. Examples: http://twistedmatrix.com/trac/browser/trunk/twisted/mail/smtp.py#L746 http://twistedmatrix.com/trac/browser/trunk/twisted/mail/smtp.py#L815 and a lot of