Re: [Twisted-Python] accurate periodic call

2012-02-20 Thread Antoine Pitrou
On Sun, 19 Feb 2012 16:49:23 + Zoran Bošnjak wrote: > Hello all, > I was astonished to find out that looping call period depends on the system > time by default. The periodic tick can even stall for a long time, if the > system time jumps backwards during program execution. It turned out th

Re: [Twisted-Python] accurate periodic call

2012-02-20 Thread Phil Mayers
On 20/02/12 04:14, Itamar Turner-Trauring wrote: > See http://twistedmatrix.com/trac/ticket/2424 I find that ticket disturbing reading. The original description seems to claim there is a logic bug in LoopingCall that is triggered when the clock goes back, but subsequent discussion is all about

Re: [Twisted-Python] accurate periodic call

2012-02-20 Thread exarkun
On 12:09 pm, p.may...@imperial.ac.uk wrote: >On 20/02/12 04:14, Itamar Turner-Trauring wrote: >>See http://twistedmatrix.com/trac/ticket/2424 > >I find that ticket disturbing reading. > >The original description seems to claim there is a logic bug in >LoopingCall that is triggered when the clock go

Re: [Twisted-Python] Regression in Gtk2 support testing

2012-02-20 Thread exarkun
On 03:14 am, ita...@itamarst.org wrote: >On 02/18/2012 10:59 AM, exar...@twistedmatrix.com wrote: >>Hello all, >> >>Since #4558 was merged, introducing "gi reactor" based on the new >>Python >>bindings for gobject, all testing of the Gtk2 reactor has been >>disabled, >>on all platforms. >> >>This

Re: [Twisted-Python] CopyableFailure fails

2012-02-20 Thread exarkun
On 7 Feb, 12:41 am, wolfg...@rohdewald.de wrote: >Am Montag, 6. Februar 2012, 23:12:29 schrieb exar...@twistedmatrix.com: >>On 08:07 pm, wolfg...@rohdewald.de wrote: >> >Hi, >> >> >with twisted 11.0.0 and python 2.7, my error fails here: >>Hello, >> >>Please provide a minimal example reproducing th

Re: [Twisted-Python] Regression in Gtk2 support testing

2012-02-20 Thread Itamar Turner-Trauring
On 02/20/2012 10:10 AM, exar...@twistedmatrix.com wrote: > On 03:14 am, ita...@itamarst.org wrote: > >> The reactors buildslave is a reasonable strategy: have multiple runs >> with different reactors as the main trial reactor. Especially since, >> even in the absence of this problem, we'd want to c

[Twisted-Python] Which mocker tool for trial ?

2012-02-20 Thread Nicolas AGIUS
Hi, I'm writing unitests with Trial for my app. I use Python Mocker (http://labix.org/mocker) for making stubs and mock. It work almost fine, but I have trouble mocking static methods.  It seems that Mocker does'nt work with static methods called from a callback. Which tool are you using for m

Re: [Twisted-Python] accurate periodic call

2012-02-20 Thread Phil Mayers
On 20/02/12 14:29, exar...@twistedmatrix.com wrote: > On 12:09 pm, p.may...@imperial.ac.uk wrote: >> On 20/02/12 04:14, Itamar Turner-Trauring wrote: >>> See http://twistedmatrix.com/trac/ticket/2424 >> >> I find that ticket disturbing reading. >> >> The original description seems to claim there is

Re: [Twisted-Python] Regression in Gtk2 support testing

2012-02-20 Thread exarkun
On 03:46 pm, ita...@itamarst.org wrote: >On 02/20/2012 10:10 AM, exar...@twistedmatrix.com wrote: >>On 03:14 am, ita...@itamarst.org wrote: >>>The reactors buildslave is a reasonable strategy: have multiple runs >>>with different reactors as the main trial reactor. Especially since, >>>even in the

Re: [Twisted-Python] Which mocker tool for trial ?

2012-02-20 Thread exarkun
On 05:04 pm, nicolas.ag...@lps-it.fr wrote: >Hi, > >I'm writing unitests with Trial for my app. > >I use Python Mocker (http://labix.org/mocker) for making stubs and >mock. It work almost fine, but I have trouble mocking static methods. >It seems that Mocker does'nt work with static methods calle

Re: [Twisted-Python] accurate periodic call

2012-02-20 Thread Glyph
On Feb 20, 2012, at 12:52 PM, Phil Mayers wrote: > On 20/02/12 14:29, exar...@twistedmatrix.com wrote: >> On 12:09 pm, p.may...@imperial.ac.uk wrote: >>> On 20/02/12 04:14, Itamar Turner-Trauring wrote: See http://twistedmatrix.com/trac/ticket/2424 >>> >>> I find that ticket disturbing read