Re: [Twisted-Python] subprocess.Popen

2009-12-14 Thread Tim Allen
On Tue, Dec 15, 2009 at 02:32:40AM -0200, Aníbal Pacheco wrote: > Is it possible to attach a callback to a process launched using > subprocess.Popen?, I want to receive a notification on process > termination. I don't believe Twisted has any special support for subprocess.Popen, but you can do muc

[Twisted-Python] subprocess.Popen

2009-12-14 Thread Aníbal Pacheco
Hi list, Is it possible to attach a callback to a process launched using subprocess.Popen?, I want to receive a notification on process termination. many thanks! anibal.- ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedma

[Twisted-Python] complete producer/consumer example

2009-12-14 Thread Benjamin Rutt
How does the below example look as a complete producer/consumer example? If it's well received, perhaps we can add it to the online documentation at http://twistedmatrix.com/documents/current/core/howto/producers.html in the "Further Reading" section? I always felt that the producer/consumer (a.k

Re: [Twisted-Python] zope.interface

2009-12-14 Thread Andrew Bennetts
Tim Allen wrote: [...] > It occurs to me that recent discussions about splitting Deferreds off > into their own library might consider zope.interface as a model. Has it > prospered, as separate library? Does anyone besides Zope and Twisted use > it? I don't know, but it might be worth finding out.

[Twisted-Python] plugin system

2009-12-14 Thread César García
Guys, I'am new to twisted and I've read the documentation about the plugin system and the components but I can't make it, I really do not get it well, do you guys have any examples there to see if I can get it :) Thanks a lot -- http://celord.blogspot.com/ __

Re: [Twisted-Python] XMLRPC get IP address

2009-12-14 Thread exarkun
On 05:32 pm, landrevi...@deadtreepages.com wrote: >Hello, > >I've looked through the mailing list and already found this reference >to get >the IP address when using xmlrpc: > >http://twistedmatrix.com/pipermail/twisted-python/2004-June/007987.html > >But it is not working. > >I have added this t

[Twisted-Python] XMLRPC get IP address

2009-12-14 Thread Landreville
Hello, I've looked through the mailing list and already found this reference to get the IP address when using xmlrpc: http://twistedmatrix.com/pipermail/twisted-python/2004-June/007987.html But it is not working. I have added this to my class that inherits from xmlrpc.XMLRPC def render(self, r

Re: [Twisted-Python] zope.interface

2009-12-14 Thread David Ripton
On 2009.12.14 11:48:48 +, Phil Mayers wrote: > Jared Gisin wrote: > > Is there a good document that explains why zope.interface is necessary > > to the twisted project? > > A counter-question: Is there a good document that explains why people > care? It's just another dependency isn't it? S

Re: [Twisted-Python] zope.interface

2009-12-14 Thread Phil Mayers
Tim Allen wrote: > On Mon, Dec 14, 2009 at 11:48:48AM +, Phil Mayers wrote: >> Jared Gisin wrote: >>> Is there a good document that explains why zope.interface is necessary >>> to the twisted project? >> A counter-question: Is there a good document that explains why people >> care? It's just

Re: [Twisted-Python] zope.interface

2009-12-14 Thread Tim Allen
On Mon, Dec 14, 2009 at 11:48:48AM +, Phil Mayers wrote: > Jared Gisin wrote: > > Is there a good document that explains why zope.interface is necessary > > to the twisted project? > > A counter-question: Is there a good document that explains why people > care? It's just another dependency

Re: [Twisted-Python] zope.interface

2009-12-14 Thread Phil Mayers
Jared Gisin wrote: > Is there a good document that explains why zope.interface is necessary > to the twisted project? A counter-question: Is there a good document that explains why people care? It's just another dependency isn't it? ___ Twisted-Python