Re: [Twisted-Python] PB vs JMS

2009-10-08 Thread Fabrizio Mancini
> > Thank you Drew. > I should have sketched a bit more: I have to compute many > self-contained jobs and then elaborate their results. > Jobs are distributed to many machines and results are sent back to > the Master. The Master should not wait for all the results to be ready > but should start

Re: [Twisted-Python] inlineCallbacks

2009-10-08 Thread exarkun
On 6 Oct, 02:47 pm, petshm...@googlemail.com wrote: >Hi, > >calling in client code self.cred.login() I can't print login result. >What I'm doing wrong? login method returns deffered, but should yield >result from callRemote method. > >Thanks for any help! > >Pet > >class Cred: > >@inlineCallbac

Re: [Twisted-Python] inlineCallbacks

2009-10-08 Thread Pet
On Thu, Oct 8, 2009 at 2:15 PM, wrote: > On 6 Oct, 02:47 pm, petshm...@googlemail.com wrote: >>Hi, >> >>calling in client code self.cred.login() I can't print login result. >>What I'm doing wrong? login method returns deffered, but should yield >>result from callRemote method. >> >>Thanks for any

[Twisted-Python] IMAP IDLE client support

2009-10-08 Thread Adam MacBeth
It doesn't appear that Twisted's IMAP client (twisted.mail.imap.IMAP4Client) supports the IDLE command. Are there any plans for this or does anyone have any thoughts on the complexity of implementing it? Thanks, Adam ___ Twisted-Python mailing list Twi

[Twisted-Python] HTTPClientFactory's deferred never finishing download on .vcf (vcard file) link

2009-10-08 Thread Steve Steiner (listsin)
I'm attempting to get some web pages using the following code which I did not write. While it seems to work (except for this, so far) I have no idea if this is a reasonable way to do this (get simple web pages) at all: def getPage(url, contextFactory=None, *args, **kwargs): """ Do

[Twisted-Python] Disturbing aspect of zope.interface

2009-10-08 Thread Brian Granger
Hi, I know this is not the zope list, but I am encountering this in a twisted project, so I wanted to get some ideas here first. I am finding that zope.interface is like an infectious disease. Here is a simple example: In [35]: import zope.interface as zi In [37]: class A(object): :

Re: [Twisted-Python] Disturbing aspect of zope.interface

2009-10-08 Thread Glyph Lefkowitz
On Thu, Oct 8, 2009 at 7:23 PM, Brian Granger wrote: > I know this is not the zope list > You're right, it's not. Perhaps you could send a message to the interface package development list? https://mail.zope.org/mailman/listinfo/interface-dev The disturbing thing is that now A (which is ju

[Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Mark Visser
Is there a project underway to modernize twisted? I've been bitten a couple times by twisted's use of old-style classes. Now that Jython is finally off the 2.2 branch, is there any real reason to stay backwards compatible? cheers, -Mark -- Mark Visser, Software Director Lumière VFX Email: ma.

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Glyph Lefkowitz
On Thu, Oct 8, 2009 at 7:59 PM, Mark Visser wrote: > Is there a project underway to modernize twisted? > Yes. The project is called "twisted" :). Personally I find that it is very "modern". I've been bitten a couple times by twisted's use of old-style classes. > Now that Jython is finally off

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread James Y Knight
On Oct 8, 2009, at 7:59 PM, Mark Visser wrote: > I've been bitten a couple times by twisted's use of old-style classes. > Now that Jython is finally off the 2.2 branch, is there any real > reason > to stay backwards compatible? I don't see any reason to make this change for twisted running on th

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Mark Visser
> For Python 3.x, oldstyle classes don't exist, so that'll happen > automatically during the conversion. > Aha! Let me rephrase that, then: Is there a project underway to port Twisted to Python 3.x? cheers, -Mark -- Mark Visser, Software Director Lumière VFX Email: ma...@lumierevfx.com Ph

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Steve Steiner (listsin)
On Oct 8, 2009, at 9:03 PM, Mark Visser wrote: > >> For Python 3.x, oldstyle classes don't exist, so that'll happen >> automatically during the conversion. >> > Aha! Let me rephrase that, then: > > Is there a project underway to port Twisted to Python 3.x? Yes, it's called Twisted. S ___

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Matt Perry
Mark, you might find this link helpful: http://stackoverflow.com/questions/172306/how-are-you-planning-on-handling-the-migration-to-python-3/214601#214601 Seems to me that the answer is no, there isn't a serious effort underway to port to Python 3, and there probably won't be for a while. My gues

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Thu, 2009-10-08 at 21:03 -0400, Mark Visser wrote: > Is there a project underway to port Twisted to Python 3.x? Not at the moment. Supporting both 2.x and 3.x is harder than it should be, and all of Twisted's users (and almost all Python users) use 2.x. -Itamar _

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread exarkun
On 01:03 am, ma...@lumierevfx.com wrote: > >>For Python 3.x, oldstyle classes don't exist, so that'll happen >>automatically during the conversion. >Aha! Let me rephrase that, then: > >Is there a project underway to port Twisted to Python 3.x? It would be misleading to characterize any part of Twi

Re: [Twisted-Python] Disturbing aspect of zope.interface

2009-10-08 Thread Brian Granger
> On Thu, Oct 8, 2009 at 7:23 PM, Brian Granger wrote: > >> I know this is not the zope list >> > > You're right, it's not. Perhaps you could send a message to the interface > package development list? > > https://mail.zope.org/mailman/listinfo/interface-dev > > Yes, I will do that. I wanted