Re: [Twisted-Python] ANN: Eliot 0.9, the logging system with causality - now with journald support

2015-10-08 Thread exarkun
On 8 Oct, 11:38 pm, gl...@twistedmatrix.com wrote: On Oct 8, 2015, at 6:04 AM, Itamar Turner-Trauring wrote: Eliot 0.9 is out, with a new utility for pretty-printing log messages and native journald support . You can now route Eliot logs

Re: [Twisted-Python] [Twisted-web] Twisted is removing Python 2.6 support

2015-06-08 Thread exarkun
uildbot.twistedmatrix.com/buildslaves/bot-exarkun-1 http://buildbot.twistedmatrix.com/buildslaves/osuosl-osx10.6 (and incidentally if someone wants to rename the former I think that'd be nice). Jean-Paul ___ Twisted-Python mailing list Twisted

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread exarkun
On 07:29 pm, gl...@twistedmatrix.com wrote: On May 20, 2015, at 04:13, exar...@twistedmatrix.com wrote: On 19 May, 09:01 pm, tom.pri...@ualberta.net wrote: Glyph writes: You could also find some other way to split the argument list but "+" doesn't seem particularly obscure in this context t

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread exarkun
On 19 May, 09:01 pm, tom.pri...@ualberta.net wrote: Glyph writes: You could also find some other way to split the argument list but "+" doesn't seem particularly obscure in this context to me. (If there's really a need to pass a literal "+" to a plugin we could add an escaping syntax as well

Re: [Twisted-Python] Need advice on how to move further with ticket 7897

2015-05-20 Thread exarkun
On 19 May, 04:38 pm, jerryguitar...@gmail.com wrote: Hi! I filed a ticket (Log the log events in twisted.internet.protocol.Factory using the new logging system ) and I have also submitted a patch for it. However, while working on the patch, I had so

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-20 Thread exarkun
On 02:41 am, zadka.mo...@gmail.com wrote: OK, so let me once again enumerate the tickets I'm going to open, because it seems like we're reaching consensus: [1] PROVIDES (pretty much as written: exarkun -- the idea is to walk up the hierarchy and then back down, so I did mean ISer

Re: [Twisted-Python] Multiple plugins in "twistd"

2015-05-19 Thread exarkun
On 12:07 pm, zadka.mo...@gmail.com wrote: Background Currently, "twistd" assumes one-run-one-plugin. It would be nice to load up multiple plug-ins in Twisted, for many reasons. These include: serving the same in-memory content via separate protocols, adding manhole to other plug-ins (so the e

Re: [Twisted-Python] trial internals help?

2015-05-19 Thread exarkun
On 10:50 am, wsanc...@wsanchez.net wrote: I took a stab at porting trial to use twisted.logger (http://tm.tl/7863) but I have a test failing: twisted.trial.test.test_reporter.TestErrorReporting.test_hiddenException I don’t quite know what that test is doing. I added some additional output

Re: [Twisted-Python] Deprecating subproject packaging

2015-04-22 Thread exarkun
On 08:04 am, hawk...@atleastfornow.net wrote: Hi, I think that Twisted should deprecate subproject packaging You probably won't hear much if any disagreement with this proposal on this list. The sub-projects were never for people who like and are into Twisted. They were a tool to help conv

Re: [Twisted-Python] Methods to upload and download file to a sftp server using twisted conch

2015-04-15 Thread exarkun
On 14 Apr, 11:47 am, sanfo.hali...@yahoo.fr wrote: Hi everybody,I am student and need help of any one.I am working on internship and I have to implement a SFTP client usign twisted conch module.I have program thoe code to establish th ssh tunnel using password authentication. I arrive to create

Re: [Twisted-Python] Twisted Project Job Posting

2015-04-04 Thread exarkun
On 29 Mar, 02:52 pm, exar...@twistedmatrix.com wrote: On 28 Mar, 04:22 pm, exar...@twistedmatrix.com wrote: Hello all, The Twisted issue tracker needs someone to pay attention to it for spam content and clean up that content. I've been taking care of this for a while now but I'm going to ste

Re: [Twisted-Python] twisted and twisted-infra organizations on GitHub

2015-04-02 Thread exarkun
On 2 Apr, 12:37 pm, a...@roiban.ro wrote: Hi, I would like suggest the following changes regarding the way repos are organized in GitHub. Move all twisted-infra repos into Twisted organization.. and maybe merge many twisted-infra repos into braid. Move treq, klein, txmongo, filepath... divmod

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 28 Mar, 04:38 pm, jerryguitar...@gmail.com wrote: Hello Mr. exarkun! I would love to help out with this. I am from India. I have been making some beginner bitesized contributions to Twisted (you have reviewed and merged some of them) and I am looking forward to contribute in any way that I

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 28 Mar, 04:22 pm, exar...@twistedmatrix.com wrote: Hello all, The Twisted issue tracker needs someone to pay attention to it for spam content and clean up that content. I've been taking care of this for a while now but I'm going to step back from this position soon. Thanks for volunteeri

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 28 Mar, 04:29 pm, hawk...@atleastfornow.net wrote: Hi exarkun, I'd also like to be able to reset passwords on trac -- there's been a few instances where people aren't able to reset their password and people with the power haven't been around. I don't know how

Re: [Twisted-Python] Twisted Project Job Posting

2015-03-29 Thread exarkun
On 12:22 pm, a...@roiban.ro wrote: Hi, Without a Trac account you can not create a new ticket or update wiki page. I just tried to create a new account named 'robot-spammer' and it looks like it would be extremely easy to automate the process. Observing notifications on IRC I saw that many s

[Twisted-Python] Twisted Project Job Posting

2015-03-28 Thread exarkun
Hello all, The Twisted issue tracker needs someone to pay attention to it for spam content and clean up that content. I've been taking care of this for a while now but I'm going to step back from this position soon. These days spam is primarily submitted as new tickets. When a spam ticket

Re: [Twisted-Python] Branch name convention

2015-03-22 Thread exarkun
On 12:10 am, gl...@twistedmatrix.com wrote: For what it's worth, many of those branches can be removed. We used to have a script that automated this deletion, but I can't find it now :-\. It's part of twisted-trac-integration. -glyph ___ Twiste

Re: [Twisted-Python] Twisted 15.1 feedback

2015-03-21 Thread exarkun
On 03:41 pm, chriswwo...@gmail.com wrote: Hawkowl, The new functionality for installing optional dependencies does not on Python3 (ticket: https://twistedmatrix.com/trac/ticket/7807). This is due to two things: 1. some of the optional dependencies do not support python3 2. setup3.py isn't using

Re: [Twisted-Python] __nonzero__ for Deferred

2015-03-18 Thread exarkun
On 18 Mar, 10:03 pm, gl...@twistedmatrix.com wrote: I'd like to deprecate and remove __nonzero__ on Deferreds. Occasionally I see code where someone (maybe even me) does "if d:" where they should have been doing "@d.addCallback def cb(result): if result: ...". Anybody else have this issue? O

Re: [Twisted-Python] Removing Python 2.6 Support after Twisted 15.1

2015-03-18 Thread exarkun
On 18 Mar, 10:45 am, hawk...@atleastfornow.net wrote: Hi, As Python 2.6 has been officially abandoned for a year+ (and will receive no further official security updates) and Python 2.7 has been available for almost five years, it might be time to put Python 2.6 support to bed. The only curren

Re: [Twisted-Python] Does anyone need / make use of SSHTransportAddress introduced in 12.1 ?

2015-03-18 Thread exarkun
On 17 Mar, 01:44 pm, a...@roiban.ro wrote: Am I the only one who fails to see the advantages of using SSHTransportAddress over a normal IAddress? This doesn't make any sense. `IAddress` has no attributes or methods. You can't do *anything* with an object that only provides `IAddress`. Jean

Re: [Twisted-Python] 回复: exceptions.ImportError: cannot import name_epoll

2015-03-02 Thread exarkun
On 11:44 am, 421174...@qq.com wrote: I use cygwin in Windows Vista. ‍ I install twisted using tool setup-x86.exe which is suggested by cygwin.‍ epoll is a Linux-only feature. twisted.internet.epollreactor is only usable on Linux. You should probably remove the explicit reactor selection fr

Re: [Twisted-Python] exceptions.ImportError: cannot import name _epoll

2015-03-02 Thread exarkun
On 08:04 am, 421174...@qq.com wrote: My dear friends, would u please give your hand kindly? How did you install Twisted and what operating system are you using? Jean-Paul the twisted version is 12.3.0.‍ the detail error is as below: Unhandled Error Traceback (most recent call last): File "

Re: [Twisted-Python] Development documentation in Trac wiki

2015-02-07 Thread exarkun
On 02:35 pm, a...@roiban.ro wrote: Hi, I would like to talk about moving Twisted development documentation out of official Twisted doc. They can be moved either into the Trac wiki or a separate project ... maybe twisted-dev-tools The problem with Twisted main repo is that (AFAIK) updates are

Re: [Twisted-Python] Making sense of buildbot problem log

2015-02-06 Thread exarkun
On 6 Feb, 07:35 am, a...@roiban.ro wrote: Hi, I got this "problem" log in builbot https://buildbot.twistedmatrix.com/builders/osx10.6-py2.6-select/builds/4868/steps/select/logs/problems and anothher for Windows https://buildbot.twistedmatrix.com/builders/windows7-64-py2.7/builds/4147/steps/se

Re: [Twisted-Python] Review tag for closed tickets

2015-01-26 Thread exarkun
On 26 Jan, 08:51 pm, a...@roiban.ro wrote: The review should be completed before the ticket is merged, so the bot should not be doing this automatically. but in the commit message I do add the author, why not have the bot automatically assign the first author form the list, review merge and cl

Re: [Twisted-Python] Spurious failure on winxp32-py2.7

2015-01-25 Thread exarkun
On 02:19 pm, a...@roiban.ro wrote: While running tests I see that the following tests fails randomly... it it was failing from some time twisted.words.test.test_xpath.XPathTests.test_position This is an unrelated test. I'm not sure if this is a simple copy/paste mistake or if you're mis-re

Re: [Twisted-Python] twistedchecker - Names of constant which are used as configuration options

2015-01-25 Thread exarkun
On 02:09 pm, a...@roiban.ro wrote: On 25 January 2015 at 01:01, wrote: On 24 Jan, 07:51 pm, a...@roiban.ro wrote: On 24 January 2015 at 19:23, wrote: On 06:45 pm, a...@roiban.ro wrote: Hi, Why reviewing a patch I got into this error from twistedchecker. This is old code, just that so

Re: [Twisted-Python] twistedchecker - Names of constant which are used as configuration options

2015-01-24 Thread exarkun
On 24 Jan, 07:51 pm, a...@roiban.ro wrote: On 24 January 2015 at 19:23, wrote: On 06:45 pm, a...@roiban.ro wrote: Hi, Why reviewing a patch I got into this error from twistedchecker. This is old code, just that someone it was touched by recent changes, Also: pre-existing errors like this

Re: [Twisted-Python] Twisted Lore project development

2015-01-24 Thread exarkun
On 07:48 pm, a...@roiban.ro wrote: Hi, Is Twisted Lore project still under development. No. It is deprecated. https://twistedmatrix.com/trac/browser/trunk/twisted/__init__.py#L68 https://twistedmatrix.com/trac/browser/trunk/twisted/lore/__init__.py#L5 from twisted import lore [...] __main_

Re: [Twisted-Python] twistedchecker - Names of constant which are used as configuration options

2015-01-24 Thread exarkun
On 06:45 pm, a...@roiban.ro wrote: Hi, Why reviewing a patch I got into this error from twistedchecker. This is old code, just that someone it was touched by recent changes, C0103:574,12:NetstringReceiverTests.test_buffer: Invalid name "MAX_LENGTH" for type attribute (should match ((([a-z_])|([

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-18 Thread exarkun
On 12:15 pm, tobias.oberst...@tavendo.de wrote: >>which POSTs structured data (though urlencoded, not JSON) to the >>codespeed server. > >I see. And codespeed parsest that, stores it in a database and produces >graphics? > >It seems, reporting the results via a WAMP RPC to a backend should be >

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-17 Thread exarkun
On 05:00 pm, tobias.oberst...@tavendo.de wrote: >>On Jan 12, 2015, at 12:49 PM, Tobias Oberstein But what is the >>"interface" between test cases from "twisted- benchmarks" to >>codespeed? > >Codespeed runs the benchmark, and they print out this stuff: >https://bazaar.launchpad.net/~twisted-dev/t

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-14 Thread exarkun
On 03:18 am, gl...@twistedmatrix.com wrote: On Jan 12, 2015, at 12:49 PM, Tobias Oberstein But what is the "interface" between test cases from "twisted- benchmarks" to codespeed? Codespeed runs the benchmark, and they print out this stuff: https://bazaar.launchpad.net/~twisted-dev/twisted-

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-14 Thread exarkun
On 03:21 am, gl...@twistedmatrix.com wrote: On Jan 12, 2015, at 1:08 PM, exar...@twistedmatrix.com wrote: E.g. I need latency histograms, but this seems unsupported (benchmark results can only have avg/min/max/stddev). For me, this isn't "nice to have", but essential. Throughput is one thing.

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-12 Thread exarkun
On 08:49 pm, tobias.oberst...@tavendo.de wrote: Rgd. Codespeed (https://github.com/tobami/codespeed), which seems to be used by speedcenter.twistedmatrix.com: I have issues here as well. E.g. I need latency histograms, but this seems unsupported (benchmark results can only have avg/min/max/s

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-02 Thread exarkun
On 12:06 pm, tobias.oberst...@tavendo.de wrote: Fact is: somehow memory runs away. How do I track down _where_ exactly the mem is spent? Probably that leads to the "why" then .. There are memory profiling tools for Python. For example, memory_profiler: https://pypi.python.org/pypi/mem

Re: [Twisted-Python] Twisted receiving buffers swamped?

2015-01-02 Thread exarkun
On 1 Jan, 10:21 am, tobias.oberst...@tavendo.de wrote: Hi, I am doing network performance tests using netperf on a trivial Twisted TCP echo server (code at the end). One of the tests that netperf offers is throughput, and I am running into an issue with this. ? [snip] Now, my suspicion is

Re: [Twisted-Python] tubes now a separate project

2014-12-27 Thread exarkun
On 12:13 am, gl...@twistedmatrix.com wrote: Apropos of recent discussion, I have moved tubes to github . I've filed some issues there and plan to file more. Please start sending pull requests if you'd like to work on it with me. Cool!

Re: [Twisted-Python] Mixing Python threads and Twisted code

2014-12-06 Thread exarkun
On 06:15 pm, alexan...@quessy.net wrote: Hello everyone, What happens if some code starts a thread while I am using Twisted's reactor? Nothing special. Here is what I need to use: https://github.com/ekulyk/PythonPusherClient/blob/master/pusherclient/connection.py#L12 This thread polls some s

Re: [Twisted-Python] doc bloat

2014-12-03 Thread exarkun
On 12:55 am, gl...@twistedmatrix.com wrote: On Dec 2, 2014, at 20:05, exar...@twistedmatrix.com wrote: Are there lots of useless docstrings on nested function definitions purely for the sake of twistedchecker? Or are there undocumented nested functions that are actually a little bit diffic

Re: [Twisted-Python] doc bloat

2014-12-02 Thread exarkun
On 10:02 am, a...@roiban.ro wrote: As a Twisted API users, I don't find a big problem the fact that __repr__ docstring is presented by pydoctor together with the other method, As a Twisted contributor, I don't like when I have to copy/paste docstring from an interface or from an inherited cla

Re: [Twisted-Python] I would like to port twisted to c++(14)

2014-11-28 Thread exarkun
On 28 Nov, 10:43 am, dany...@gmail.com wrote: Hello everyone, I am Danny, a C++ dev, I'm familiar with twisted from past projects and by this day I am enchanted with its magic. I would like to port twisted to c++ (or at least the base ot it) and have couple of questions - 1. Is it legally o

Re: [Twisted-Python] to force-builds.py or not to force-builds.py

2014-11-18 Thread exarkun
On 18 Nov, 06:40 pm, a...@roiban.ro wrote: As commented by @glyph Since we've added the buildbot link to trac pages, force-builds.py is basically obsolete. I think we should just scrub all mentions of it, and probably delete it. I have created a ticket to remove it and clean documentation: h

Re: [Twisted-Python] How do I debug this network problem?

2014-11-18 Thread exarkun
On 18 Nov, 12:52 pm, peter.westl...@pobox.com wrote: On Tue, 18 Nov 2014, at 01:09, exar...@twistedmatrix.com wrote: On 12:42 am, peter.westl...@pobox.com wrote: >Okay, how about http://bugs.python.org/issue9090, "Issue #9090 : Error >code 10035 calling socket.recv() on a socket with a timeo

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread exarkun
On 12:42 am, peter.westl...@pobox.com wrote: On Mon, 17 Nov 2014, at 20:25, Glyph wrote: On Nov 17, 2014, at 19:32, Peter Westlake wrote: It's a known bug in Python!http://bugs.python.org/issue1038591, "Python 2.3+ socket._fileobject handles EAGAIN with data loss". This bug is in socket.m

Re: [Twisted-Python] How do I debug this network problem?

2014-11-17 Thread exarkun
On 02:51 pm, peter.westl...@pobox.com wrote: Looking at the code, _SignalReactorMixin.mainLoop() takes the output of ReactorBase.timeout() and passes it to doIteration(). The implementation of doIteration() in PollReactor passes the value straight through to poll(). If there is any kind of tim

[Twisted-Python] Contributor advancement path - proposal (RFC)

2014-11-17 Thread exarkun
On 11:48 am, exar...@twistedmatrix.com wrote: This sounds great. Could you jot it down on a wiki page? Hmmm okay. :P I wrote up . Notice "Proposal" in the URL. It would be nice to get feedback from some more contrib

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 09:44 am, a...@roiban.ro wrote: On 16 November 2014 22:44, wrote: Is there a wiki page describing what are the steps required for a regular contributor to get permissions to run buildbot tests and get write access to the repo? I'll send you the credentials off-list. FWIW, this is passwo

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 12:10 pm, a...@roiban.ro wrote: On 17 November 2014 11:55, wrote: On 11:48 am, a...@roiban.ro wrote: Is there a reason why a try scheduler is not implemented? I find it awesome for TDD! On my normal workflow I can do this, even without commiting changes: ./HELPER test some.test ./HELPER

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 11:48 am, a...@roiban.ro wrote: Is there a reason why a try scheduler is not implemented? I find it awesome for TDD! On my normal workflow I can do this, even without commiting changes: ./HELPER test some.test ./HELPER test-remote sol-10-sparc some.test test-remote just wraps buildot try

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-17 Thread exarkun
On 01:46 am, gl...@twistedmatrix.com wrote: On Nov 16, 2014, at 23:44, exar...@twistedmatrix.com wrote: On 10:04 am, a...@roiban.ro wrote: This can be part of the current review process page: https://twistedmatrix.com/trac/wiki/ReviewProcess What do you think? I think this process probabl

Re: [Twisted-Python] Permissions to trigger buildbot tests

2014-11-16 Thread exarkun
On 10:04 am, a...@roiban.ro wrote: Hi, To help with the review process I would like to ask permissions for triggering buildbot builds. Is there a wiki page describing what are the steps required for a regular contributor to get permissions to run buildbot tests and get write access to the re

Re: [Twisted-Python] How do I debug this network problem?

2014-11-14 Thread exarkun
On 05:38 pm, peter.westl...@pobox.com wrote: Here is some highly suspicious-looking output from strace: sendto(5, "\0\4_ask\0\004867c\0\10_command\0\tLogOutpu"..., 343, 0, NULL, 0) = 343 recvfrom(5, "\0\7_answer\0\004867c\0\6status\0\4True\0\0", 65536, 0, NULL, NULL) = 31 sendto(5, "\0\4_ask\0\

Re: [Twisted-Python] is it possible to change the isolation level of a psycopg2 connection under enterprise.adbapi ?

2014-11-13 Thread exarkun
On 04:56 pm, twisted-pyt...@2xlp.com wrote: there doesn't seem to be a way to access the connection objects within the pool ( psycopg2 manages this via `connection.set_isolation_level(X)` Basically. There is a trick to work around this, invent your own DB-API 2.0 wrapper around psycopg2 that

Re: [Twisted-Python] Sending longer messages in AMP

2014-11-13 Thread exarkun
On 02:57 pm, ga...@gromper.net wrote: Hi, We're using AMP and are starting to hit TooLong errors when scaling our application. In one respect it's a sign that we should do something like paging large requests and responses, but that's a lot more work, and comes with its own problems. We also don

Re: [Twisted-Python] The Path to Twisted 14.1

2014-11-05 Thread exarkun
On 5 Nov, 11:57 pm, ita...@itamarst.org wrote: On 11/04/2014 09:54 PM, Glyph wrote: I don't follow. Are you saying that logger fixed some python 3 stuff, and by reverting it we're losing that, or that log regressed after 14.0 and logger fixed it and that by reverting it we are regressing

Re: [Twisted-Python] Serializing cftp and ssh sessions

2014-10-20 Thread exarkun
On 02:05 pm, axel@chaos1.de wrote: Am 19.10.2014 um 22:44 schrieb exar...@twistedmatrix.com: On 17 Oct, 08:50 am, axel@chaos1.de wrote: Am 14.10.2014 um 17:07 schrieb Axel Rau : We might need more to go on. Do you have a complete, minimal example? (See http://sscce.org/) The attach

Re: [Twisted-Python] Serializing cftp and ssh sessions

2014-10-19 Thread exarkun
On 17 Oct, 08:50 am, axel@chaos1.de wrote: Am 14.10.2014 um 17:07 schrieb Axel Rau : We might need more to go on. Do you have a complete, minimal example? (See http://sscce.org/) The attached zip archive Did someone could spend the time to look at it? Is my goal utopian? I can't tell i

Re: [Twisted-Python] Serializing cftp and ssh sessions

2014-10-14 Thread exarkun
On 06:02 am, axel@chaos1.de wrote: I have adapted t.c.s.cftp and one of the ssh examples to transfer files to a remote host and than execute some commands there. Both has to be done for several remote hosts in sequence. Start of the ssh session has to wait until the cftp sessions are comple

[Twisted-Python] Boston Area Twisted Sprint

2014-10-08 Thread exarkun
Hello all, I'm happy to invite you to a Twisted sprint on Saturday, November 1st in Cambridge, Massachusetts. ClusterHQ will be hosting up to twenty (20) Twisted sprinters at the Cambridge Innovation Center ("Coronet City" room) in Kendall Square from 10AM until 11PM. The sprint topics are atte

Re: [Twisted-Python] porting twisted.spread to Python3

2014-10-05 Thread exarkun
On 08:28 pm, wolfgang@rohdewald.de wrote: Am Sonntag, 5. Oktober 2014, 19:58:29 schrieb exar...@twistedmatrix.com: For example, following the plan, I would have expected to see perhaps two patches to port the banana module: one to add the missing test coverage and one to make any and all cha

Re: [Twisted-Python] my branches merged by you (exarkun)

2014-10-05 Thread exarkun
On 04:26 pm, wolfgang@rohdewald.de wrote: Am Sonntag, 5. Oktober 2014, 14:20:35 schrieb exar...@twistedmatrix.com: >>I noticed that you also changed 'x' to b'x' in some places. I did >>not do that yet because it is not needed for those tickets, I wanted >>to keep them small and focussed. I

Re: [Twisted-Python] porting twisted.spread to Python3

2014-10-05 Thread exarkun
On 04:23 pm, wolfgang@rohdewald.de wrote: Am Sonntag, 5. Oktober 2014, 13:48:12 schrieb exar...@twistedmatrix.com: On 3 Oct, 11:09 pm, wolfgang@rohdewald.de wrote: >I now have a local git branch with about 70 commits, always >rebased onto current trunk. It makes me sad to learn you're c

Re: [Twisted-Python] my branches merged by you (exarkun)

2014-10-05 Thread exarkun
On 12:00 pm, wolfgang@rohdewald.de wrote: That should have been exarkun, not itamar. Sorry for that. Am Sonntag, 5. Oktober 2014, 11:59:40 schrieb Wolfgang Rohdewald: Thanks for fixing my mistakes! Based on your fixes I started a personal checklist, see below. Is that list correct so far

Re: [Twisted-Python] porting twisted.spread to Python3

2014-10-05 Thread exarkun
On 3 Oct, 11:09 pm, wolfgang@rohdewald.de wrote: I now have a local git branch with about 70 commits, always rebased onto current trunk. It makes me sad to learn you're carrying so many patches to Twisted. It might be useful to the project if you could share why this development was easi

Re: [Twisted-Python] Python 3.3 buildslaves

2014-09-26 Thread exarkun
On 08:26 am, a...@roiban.ro wrote: I think that it would be nice to have some process to initiate new contributors to the whole review process and once one or more senior-reviewers consider that the new contributors is good to do reviews by itself, to give him commit privileges. +1 Jean-Paul

[Twisted-Python] natty64-py2.7maint & twistedchecker builders

2014-09-16 Thread exarkun
Hello, These two builders appear to be having problems. See, for example: https://buildbot.twistedmatrix.com/builders/natty64-py2.7maint/builds/4193 https://buildbot.twistedmatrix.com/builders/twistedchecker/builds/2229 Jean-Paul ___ Twisted-Python

[Twisted-Python] Python 3.3 buildslaves

2014-09-14 Thread exarkun
Hello, I noticed that https://twistedmatrix.com/trac/ticket/7355 is a blocker for the release of Twisted 14.1 and #7355 is blocked Python 3.3 buildbot configuration/availability issues. Who can look at why one of the Python 3.3 slaves is offline and why the two slaves are configured differently?

Re: [Twisted-Python] PEP3131: non-ascii identifiers

2014-09-08 Thread exarkun
On 01:07 pm, wolfgang@rohdewald.de wrote: Am Montag, 8. September 2014, 12:04:46 schrieb exar...@twistedmatrix.com: PB supports unicode perfectly well and has for many years. This is why I asked which specific part of PB has a problem. PB transfers names of methods and classes as bytes,

Re: [Twisted-Python] PEP3131: non-ascii identifiers

2014-09-08 Thread exarkun
On 11:44 am, wolfgang@rohdewald.de wrote: Am Montag, 8. September 2014, 10:54:44 schrieb exar...@twistedmatrix.com: Can you point out the specific places where you think PB needs to start using UTF-8 instead of ASCII? Those are the places that need to be fixed, not the underlying porting h

Re: [Twisted-Python] PEP3131: non-ascii identifiers

2014-09-08 Thread exarkun
On 09:19 am, wolfgang@rohdewald.de wrote: This does not seem to be supported by Python yet. Should that be enabled at all? If one process with PY3 sends such identifiers to a separate process with PY2, that will fail. I am not sure if that would be a problem, whoever uses this must make sure

Re: [Twisted-Python] Python3: should paths be bytes or str?

2014-09-07 Thread exarkun
On 01:26 am, wolfgang@rohdewald.de wrote: The porting guide says No byte paths in sys.path. What porting guide is that? doc for FilePath says On both Python 2 and Python 3, paths can only be bytes. I stumbled upon this while trying to find out how much work it might be to make bin/t

Re: [Twisted-Python] spawnProcess - reapProcess not retrying on failures

2014-09-05 Thread exarkun
On 06:30 am, a...@roiban.ro wrote: On 4 September 2014 12:59, wrote: [snip] What would be really nice is if someone collected *all* of the complaints about `spawnProcess` into one place and integrated solutions to them into a design for a replacement. :) Jean-Paul Since I can not create w

Re: [Twisted-Python] High throughput database logger

2014-09-04 Thread exarkun
On 12:51 pm, adi.libot...@proatria.com wrote: Hi, I'm looking at various options for implementing a high throughput database logger that will work with Twisted. My requirements, listed by importance: 1) small memory footprint 2) high speed 3) low garbage generation The application I'm worki

Re: [Twisted-Python] Graceful shutdown of twistd application

2014-09-04 Thread exarkun
On 12:36 pm, sangiova...@nweb.it wrote: On Thu, Sep 4, 2014 at 2:02 PM, wrote: You said before shutdown triggers are too late but you didn't say why. I think that's based on a misunderstanding - but if not, then explain why it doesn't work for your scenario. Hi, thanks for your reply. I

Re: [Twisted-Python] Graceful shutdown of twistd application

2014-09-04 Thread exarkun
On 10:52 am, sangiova...@nweb.it wrote: Hello list, I need to implement a graceful shutdown procedure for a twistd application. The application is made up of two services: an internet.TCPClient and an internet.TCPServer. They're glued together with a MultiService instance, which is in turn se

Re: [Twisted-Python] spawnProcess - reapProcess not retrying on failures

2014-09-04 Thread exarkun
On 07:26 am, a...@roiban.ro wrote: On 3 September 2014 18:55, wrote: On 03:27 pm, a...@roiban.ro wrote: On 3 September 2014 14:39, wrote: [snip] Do you have any suggestion for how the calls should be made? reactor.run(installSignalHandlers=True, installStopHandlers=False) Also note

Re: [Twisted-Python] Return only when value/handle is available

2014-09-03 Thread exarkun
On 05:52 pm, vikas.c.ku...@oracle.com wrote: Hi Jonas, This is nice. But still we are retrying it repeatedly at regular interval(10). Can't we get the notified asynchronously as and when handle is available. You tell us. What's a handle? Where do you get it from? Does that system produce

Re: [Twisted-Python] spawnProcess with timeout and same error handling on Unix and Windows

2014-09-03 Thread exarkun
On 05:17 pm, a...@roiban.ro wrote: On 3 September 2014 16:49, Adi Roiban wrote: Hi, If I call spawnProcess with a bad executable, on Unix the process will exit with exit code 1 while on Windows an OSError is raised. I am working on a multi-OS software and to make my life easier I ended up wit

Re: [Twisted-Python] spawnProcess - reapProcess not retrying on failures

2014-09-03 Thread exarkun
On 05:55 pm, exar...@twistedmatrix.com wrote: Gtk messes with signals too. There are confusing order-of-execution dependencies and Gtk changes subtly from release to release, re- breaking things after we fix them or changing them to be broken in a different way. So that's *why* it probably

Re: [Twisted-Python] spawnProcess - reapProcess not retrying on failures

2014-09-03 Thread exarkun
On 03:27 pm, a...@roiban.ro wrote: On 3 September 2014 14:39, wrote: Yes. Providing more fine-grain control over signal handlers would be a fine improvement. Do you have any suggestion for how the calls should be made? reactor.run(installSignalHandlers=True, installStopHandlers=False)

Re: [Twisted-Python] spawnProcess with timeout and same error handling on Unix and Windows

2014-09-03 Thread exarkun
On 03:49 pm, a...@roiban.ro wrote: Hi, If I call spawnProcess with a bad executable, on Unix the process will exit with exit code 1 while on Windows an OSError is raised. Ideally, these two implementations of the same interface would have the same error behavior in this case. In other words,

Re: [Twisted-Python] spawnProcess - reapProcess not retrying on failures

2014-09-03 Thread exarkun
On 01:05 pm, a...@roiban.ro wrote: On 2 September 2014 14:50, wrote: On 01:38 pm, j...@editshare.com wrote: [snip] Without my workaround, I continue to have the problem with the gtk2reactor. Have you reported this bug? Jean-Paul In my initial use case, signal handlers were not instal

Re: [Twisted-Python] spawnProcess - reapProcess not retrying on failures

2014-09-02 Thread exarkun
On 01:38 pm, j...@editshare.com wrote: FWIW, looking at your original code, you may also want to call your Deferreds in a reactor.callLater. I learned the hard way that if you callback a Deferred from processEnded and the callback spawns another process, your process will still be Twisted's

Re: [Twisted-Python] Using spawnProcess

2014-09-01 Thread exarkun
On 12:24 pm, grigorescu_cipr...@yahoo.com wrote: Hello, I have wrote a custom protocol(inherit from SMTPClient) and factory(inherit from ClientFactory) in order to send emails from multiple ips(multiple connections, factories). Now I want to run this pice of code multiple times using spawnPro

Re: [Twisted-Python] jelly with new-style classes: method references are not resolved

2014-09-01 Thread exarkun
On 12:31 pm, wolfgang@rohdewald.de wrote: Am Montag, 1. September 2014, 11:57:22 schrieb exar...@twistedmatrix.com: >Why has this fix never been included? It is necessary for porting to >Python 3. Perhaps because the ticket was never given the "review" keyword - so no one ever noticed tha

Re: [Twisted-Python] jelly with new-style classes: method references are not resolved

2014-09-01 Thread exarkun
On 11:39 am, wolfgang@rohdewald.de wrote: Hi, while trying to port jelly to Python 3 (banana tests already pass with Python 3), I found a bug in jelly. It has already been reported 3 years ago with ticket 4935. And there is a fix attached to that ticket. This fix resolves the problem

Re: [Twisted-Python] Twisted Trac

2014-08-29 Thread exarkun
On 26 Aug, 08:09 pm, exar...@twistedmatrix.com wrote: On 02:06 pm, alex.gay...@gmail.com wrote: I see new tickets that are created through the IRC bot - I've deleted all of these now. Okay. Thanks, Here are a few more: #7604 #7605 #7606 Jean-Paul

Re: [Twisted-Python] Twisted Trac

2014-08-26 Thread exarkun
On 02:06 pm, alex.gay...@gmail.com wrote: I see new tickets that are created through the IRC bot - I've deleted all of these now. Okay. Thanks, Jean-Paul ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi

Re: [Twisted-Python] Twisted Trac

2014-08-26 Thread exarkun
On 03:42 am, alex.gay...@gmail.com wrote: twistedmatrix.com> writes: Hi Alex, I notice some spam has started to get through. See the latest bug summary email. Jean-Paul (Please be aware I don't read twisted regularly, please CC me to ensure I see it, Glyph was kind enough to draw this t

Re: [Twisted-Python] Twisted Trac

2014-08-25 Thread exarkun
On 24 Aug, 02:40 pm, exar...@twistedmatrix.com wrote: On 16 Jul, 06:02 pm, alex.gay...@gmail.com wrote: Hi all, A short while ago Twisted's trac installation was changed to reject new tickets from anyone except a special white listed group. As of yesterday I have reverted this change, (and t

Re: [Twisted-Python] Twisted Trac

2014-08-24 Thread exarkun
On 16 Jul, 06:02 pm, alex.gay...@gmail.com wrote: Hi all, A short while ago Twisted's trac installation was changed to reject new tickets from anyone except a special white listed group. As of yesterday I have reverted this change, (and turned the spam filter back on). If you experience any

Re: [Twisted-Python] Is there pb documentation somewhere?

2014-08-19 Thread exarkun
On 03:31 am, sank.dan...@gmail.com wrote: Dustin, Adding what amounts to a use-after-free bug to the protocol seems like a really bad idea to me. Oh goody, a sarcastic comment which doesn't actually bother to explain the bug :) Sarcastic? What? Dustin *was* explaining the problem. Witho

Re: [Twisted-Python] Serving WSGIResource via SSL endpoint

2014-08-15 Thread exarkun
On 04:32 pm, piper.mas...@gmail.com wrote: On Fri, Aug 15, 2014 at 2:15 AM, Glyph wrote: When I use the openssl command you gave me, I get this: > openssl s_client -connect localhost:8000 CONNECTED(0003) ^C (I had to Ctrl-C it, because it just stuck there) You might find it ins

Re: [Twisted-Python] Scalability of timers

2014-08-10 Thread exarkun
On 09:38 pm, tobias.oberst...@tavendo.de wrote: What I am after is to explicitly _control_ the maximum syscall rate to select() - not simply max. out the box on syscall rate. Like: limit syscall rate to select() at 1000Hz - regardless how many timers I issue per second. In other words: If

Re: [Twisted-Python] Is there pb documentation somewhere?

2014-08-08 Thread exarkun
is "crazy" about pb. This was a complaint about a general trend, not about specific words. Clearly exarkun gave you the impression that it is "bad", whether he specifically said so or not. I don't understand what you're saying here. Do you want people to not descri

Re: [Twisted-Python] Embedding manhole interpreter into insults widget.

2014-08-07 Thread exarkun
On 6 Aug, 06:14 pm, lacrima.ma...@gmail.com wrote: Hello, I have been trying to create a widget that encloses manhole interpreter. Here is somewhat hacky implementation that I came up with at this moment: Widgets and the manhole interpreter are implemented using two pretty distinct approach

Re: [Twisted-Python] TerminalSession instance has no attribute 'windowChanged'

2014-08-01 Thread exarkun
On 10:17 am, gl...@twistedmatrix.com wrote: On Jul 31, 2014, at 3:03 AM, Maxim Lacrima wrote: Hello! When size of terminal window of ssh client is changed, then twisted ssh server throws an exception: exceptions.AttributeError: TerminalSession instance has no attribute 'windowChanged' `m

  1   2   3   4   5   6   7   8   9   10   >