Re: [Twisted-Python] Twisted slow in Mac OS X fast on Windows

2009-02-20 Thread Brian Granger
Hi, I think it may just be the built-in Python on Leopard: On OS X: In [1]: def f(): ...: for i in range(10): ...: a = 1 + i In [2]: %timeit f() 100 loops, best of 3: 11.8 ms per loop Same hardware, but Windows: In [1]: def f(): ...: for i in range(10): ...:

Re: [Twisted-Python] Twisted Sprint in February

2009-02-20 Thread Jonathan Lange
On Sat, Feb 21, 2009 at 10:50 AM, wrote: > If you can't make it to Massachusetts, please feel free to join in on the > #twisted IRC channel on chat.freenode.net and sprint with us virtually. > > I'll be coming. See you there! Have fun guys! The sprint starts 2AM Monday morning my time, so I wo

Re: [Twisted-Python] Twisted Sprint in February

2009-02-20 Thread glyph
On 10:35 pm, exar...@divmod.com wrote: Just a reminder, the sprint is this Sunday. If you don't come, Twisted will be sad. The sprint will officially begin at 10AM, and continue until nobody is interested in continuing. Typically, this ends up being 6-7PM, at which point we adjourn to a lo

Re: [Twisted-Python] How to use ampoule?

2009-02-20 Thread Valentino Volonghi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 20, 2009, at 2:08 AM, Chris wrote: Hi everyone, I am using twisted to build a server,and the computing request maybe costs lot of cpu resources.I have checked the maillist,it seems I can use ampoule plugin to create another process ,I have c

Re: [Twisted-Python] Twisted Sprint in February

2009-02-20 Thread Jean-Paul Calderone
On Thu, 5 Feb 2009 16:56:51 -0500, Jean-Paul Calderone wrote: On Mon, 26 Jan 2009 18:10:32 -0500, Jean-Paul Calderone wrote: Hello All, I'd like to organize another Twisted sprint in Cambridge, MA in February. As with previous sprints, this is an all day event, most likely hosted at the Divm

Re: [Twisted-Python] Debugging Twisted

2009-02-20 Thread Jean-Paul Calderone
On Fri, 20 Feb 2009 20:15:02 +0100, Luper Rouch wrote: Jean-Paul Calderone wrote : On Fri, 20 Feb 2009 19:56:54 +0100, Luper Rouch wrote: I would like to investigate on the conch error I mentionned in my previous message ("KeyError when an errback is triggered within a conch TCP tunnel").

Re: [Twisted-Python] Twisted slow in Mac OS X fast on Windows

2009-02-20 Thread Jean-Paul Calderone
On Fri, 20 Feb 2009 11:11:24 -0800, Brian Granger wrote: Hi, We use Twisted extensively in the IPython project for parallel and distributed computing. We have an extensive test suite that uses trial to test our servers and clients. Everything works great...but...the test suite takes much lon

Re: [Twisted-Python] Debugging Twisted

2009-02-20 Thread Luper Rouch
Jean-Paul Calderone wrote : On Fri, 20 Feb 2009 19:56:54 +0100, Luper Rouch wrote: I would like to investigate on the conch error I mentionned in my previous message ("KeyError when an errback is triggered within a conch TCP tunnel"). My problem is Twisted catches the exceptions and the debu

[Twisted-Python] Twisted slow in Mac OS X fast on Windows

2009-02-20 Thread Brian Granger
Hi, We use Twisted extensively in the IPython project for parallel and distributed computing. We have an extensive test suite that uses trial to test our servers and clients. Everything works great...but...the test suite takes much longer to run on OS X than windows. Here is what I mean: 1. 2

Re: [Twisted-Python] Debugging Twisted

2009-02-20 Thread Jean-Paul Calderone
On Fri, 20 Feb 2009 19:56:54 +0100, Luper Rouch wrote: I would like to investigate on the conch error I mentionned in my previous message ("KeyError when an errback is triggered within a conch TCP tunnel"). My problem is Twisted catches the exceptions and the debugger won't stop on them, how

[Twisted-Python] Debugging Twisted

2009-02-20 Thread Luper Rouch
I would like to investigate on the conch error I mentionned in my previous message ("KeyError when an errback is triggered within a conch TCP tunnel"). My problem is Twisted catches the exceptions and the debugger won't stop on them, how could I avoid that ? Is there a "debug" reactor ?

[Twisted-Python] How to use ampoule?

2009-02-20 Thread Chris
Hi everyone, I am using twisted to build a server,and the computing request maybe costs lot of cpu resources.I have checked the maillist,it seems I can use ampoule plugin to create another process ,I have checked the website,and downloaded the source code.It seems there is no any document for it.I