Re: [Twisted-Python] HTTP combined log format in twisted.web.http changed from 13.2.0 to 14.0.0

2014-12-01 Thread Free Ekanayaka
On Tue, Nov 25, 2014 at 4:26 PM, Free Ekanayaka wrote: > Hi, > > it was > > line = '%s - - %s "%s" %d %s "%s" "%s"\n' % ( > > in 13.2.0 (twisted/web/http.py line 1920), and it's > > u'"%(ip)s&

[Twisted-Python] HTTP combined log format in twisted.web.http changed from 13.2.0 to 14.0.0

2014-11-25 Thread Free Ekanayaka
Hi, it was line = '%s - - %s "%s" %d %s "%s" "%s"\n' % ( in 13.2.0 (twisted/web/http.py line 1920), and it's u'"%(ip)s" - - %(timestamp)s "%(method)s %(uri)s %(protocol)s" ' so basically the client IP now gets wrapped within double quotes, e.g. a log line that was looking l

Re: [Twisted-Python] Testing AMP-based code

2013-06-14 Thread Free Ekanayaka
|--==> On Wed, 12 Jun 2013 23:16:12 -, exar...@twistedmatrix.com said: > I think this is thinking in the right direction. Twisted generally > tries to be responsible for testing its own code, and the > serialization from commands to bytes (and the reverse) that AMP does > is part of T

[Twisted-Python] Testing AMP-based code

2013-06-05 Thread Free Ekanayaka
Hi, following up from ticket #6502, I'm looking for recommendations/best practices for writing unit-tests for AMP-based code. As described in the ticket, the issue I'm currently facing is that the AMP implementation is subtly not re-entrant safe and doesn't work with a synchronous transport, for

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-10 Thread Free Ekanayaka
|--==> On Fri, 10 Feb 2012 09:50:10 +, Jonathan Lange said: JL> On Fri, Feb 10, 2012 at 8:43 AM, Free Ekanayaka wrote: >>Hi Jonathan, >> >>|--==> On Wed, 8 Feb 2012 22:12:34 +, Jonathan Lange said: >> >> [...] >> >>Woul

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-10 Thread Free Ekanayaka
Hi Jonathan, |--==> On Wed, 8 Feb 2012 22:12:34 +, Jonathan Lange said: [...] >>Would you elaborate on that and explain why you come to prefer it over >>trial for your new projects? JL> That's mostly documented here: JL> http://testtools.readthedocs.org/en/latest/overview.html

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-10 Thread Free Ekanayaka
Hi Glyph, |--==> On Thu, 9 Feb 2012 16:20:37 -0500, Glyph said: [...] >>Right. At the time it was discouraging because I felt like there were >>a hundred tests to fix one at a time, then add the deprecation warning >>and then a year later get to my actual goal of removing the extra >>i

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-10 Thread Free Ekanayaka
Hi Jonathan, |--==> On Wed, 8 Feb 2012 22:15:18 +, Jonathan Lange said: [...] >>Even those returning deferreds and using AsynchronousDeferredRunTest? I >>presume so, just asking to be sure. >> JL> Yes. JL> (Also, you don't get sure from asking, you get sure from trying). True,

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Free Ekanayaka
Hi Glyph, |--==> On Wed, 8 Feb 2012 12:30:14 -0500, Glyph said: G> On Feb 8, 2012, at 12:22 PM, Free Ekanayaka wrote: >>Probably a good addition to the documentation of the two projects >>would be to describe the differences between the two and if there is >>a

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Free Ekanayaka
Hi Jonathan, |--==> On Wed, 8 Feb 2012 08:32:27 +, Jonathan Lange said: [...] JL> I know it's bad form, but I endorse everything that Glyph said. Except JL> that I'd add that testtools is awesome and you should use that. Would you elaborate on that and explain why you come to prefer

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-08 Thread Free Ekanayaka
Hi Glyph, |--==> On Wed, 8 Feb 2012 02:05:22 -0500, Glyph said: [...] G> The position that Twisted can take is that Trial is awesome and you G> should use Trial. testtools is a separate project, and you may G> elect to use it to enhance your trial experience. That sounds good to me.

Re: [Twisted-Python] Running Twisted tests with testtools

2012-02-07 Thread Free Ekanayaka
Hi Jonathan, |--==> On Mon, 6 Feb 2012 19:01:30 +, Jonathan Lange said: [...] JL> As much as I would like to see that happen, I am not ever going to do JL> anything about it. So what position can the Twisted project realistically take? Keep using trial for testing Twisted itself, but

Re: [Twisted-Python] what is the status of storm integration with twisted?

2011-07-14 Thread Free Ekanayaka
Hi Ilja, |--==> On Tue, 12 Jul 2011 13:02:43 +0200, Jamu Kakar said: JK> Hi Ilja, JK> On Tue, Jul 12, 2011 at 9:38 AM, Ilja Livenson wrote: >>basically, $subj. I really like the DeferredStore concept introduced >>in storm/twisted-integration, but it seems that that branch is lagging

Re: [Twisted-Python] Running tests in parallel with trial

2010-08-10 Thread Free Ekanayaka
Hey, |--==> On Tue, 10 Aug 2010 16:07:56 +0100, Jonathan Lange said: JL> On Tue, Aug 10, 2010 at 3:58 PM, Free Ekanayaka wrote: >>Hi, >> >>is there a way to tell trial run groups of tests in parallel in >>different processes? Something like the &

[Twisted-Python] Running tests in parallel with trial

2010-08-10 Thread Free Ekanayaka
Hi, is there a way to tell trial run groups of tests in parallel in different processes? Something like the "-jN" option in zope-testrunner. Or alternatively, what's the recommended way to make better use of multi-core CPUs when running a test suite with trial? Thanks, Free ___

Re: [Twisted-Python] Get Twisted 10.0 in to Ubuntu 10.04 LTS

2010-03-09 Thread Free Ekanayaka
Hi, |--==> On Tue, 09 Mar 2010 13:39:01 +0100, Free Ekanayaka said: EF> What should we do next? Can the currently packages in Debian be revoked or do EF> we have to prepare new ones? FE> I've just prepared a new revision (10.0.0-2) with the two fixes you FE> repor

Re: [Twisted-Python] Get Twisted 10.0 in to Ubuntu 10.04 LTS

2010-03-09 Thread Free Ekanayaka
Hi Esteve, |--==> On Tue, 9 Mar 2010 13:03:31 +0100 (CET), "Esteve Fernandez" said: EF> Thanks! However, there are some glitches in the packages you uploaded to Debian: EF> - they skipped 9.0.0-2, and thus #566395 and #566913 are open again EF> - python-twisted doesn't depend on >= 10.0

Re: [Twisted-Python] Get Twisted 10.0 in to Ubuntu 10.04 LTS

2010-03-08 Thread Free Ekanayaka
Hi Esteve, |--==> On Mon, 8 Mar 2010 22:37:12 +0100 (CET), "Esteve Fernandez" said: EF> Hi >>Matthias said he thinks that a Feature Freeze Exception is fine for >>Twisted 10.0.0, and I can go on packaging it. There are quite a few >>source packages to update, I'll try to do it in the co

Re: [Twisted-Python] Get Twisted 10.0 in to Ubuntu 10.04 LTS

2010-03-08 Thread Free Ekanayaka
Hi, |--==> On Sun, 07 Mar 2010 14:54:23 -, exar...@twistedmatrix.com said: >>Good question. Something like pulling the source packages of all >>packages directly or indirectly depending on python-twisted-core and >>grepping for connectUDP. > I looked at the direct (apt-cache rdepends

Re: [Twisted-Python] Get Twisted 10.0 in to Ubuntu 10.04 LTS

2010-03-07 Thread Free Ekanayaka
|--==> On Sun, 7 Mar 2010 13:10:46 +, Jonathan Lange said: >>If we want to update all twisted Ubuntu packages and not only the -core >>one, I *think* we need a separate bug filed against each of them. A >>quick answer on #ubuntu-devel should clear this out. >> > They have separate

Re: [Twisted-Python] Get Twisted 10.0 in to Ubuntu 10.04 LTS

2010-03-07 Thread Free Ekanayaka
Hi Jonathan, |--==> On Sat, 6 Mar 2010 18:38:36 +, Jonathan Lange said: JL> Since we've just released Twisted 10.0.0 and since the release is JL> awesome, stable, low-risk and a great thing to have in the next JL> long-term support version of Ubuntu, I think we should strive to get a

Re: [Twisted-Python] Using Twisted and GTK2

2010-02-03 Thread Free Ekanayaka
Hi, |--==> On Wed, 03 Feb 2010 13:48:39 +0100, Ramiro Alba Queipo said: RAQ> Hi everybody, RAQ> I recently new about Twisted and saw it as the best way to deal with a RAQ> client/server network application (I use python long time ago). Really RAQ> wonderful. I now intend to write a GTK