Re: [Twisted-Python] Changing procmon.ProcessMonitor.processes

2017-09-20 Thread Moshe Zadka
OK I opened a ticket with a plan, after discussing with Mark Williams. 1. Make a custom class that implements the Sequence ABC and pretends to be sized the old size. 2. Internally all access will be moved to attributes 3. All sequence methods will be marked as Deprecated. We'll kill them in a year

[Twisted-Python] verilog simulation calling out to twisted

2017-09-20 Thread Bryan Murdock
Hi, I've been writing Verilog simulations for years, and tinkering with Python for years. In the last couple years I have been calling out to Python from Verilog simulations, which has been awesome. Just this week I tried twisted out for the first time to write a simple custom TCP server. It wa

[Twisted-Python] Truly distributed tests with Twisted

2017-09-20 Thread Todd Chapman
Hi All, I have been using DistTrialRunner with great success, but now I would like to run tests both in parallel and distributed across a set of testing nodes. Can anyone recommend existing solutions for this? I tried extending DistTrialRunner and using a generator to feed it some tests, but it h

[Twisted-Python] Need help reviewing improvement to inlineCallbacks

2017-09-20 Thread Craig Rodrigues
Pierre Tardy, the main developer of Buildbot, submitted this patch to add full stack traces to inlineCallbacks: https://github.com/twisted/twisted/pull/814 I think the patch looks good, but can someone with more knowledge of inlineCallbacks review it? Right now, if you have a stack of inlineCall

Re: [Twisted-Python] How to correctly run Sqlite with Twisted?

2017-09-20 Thread goffi
Le 2017-09-20 10:24, ex vito a écrit : On 2017-09-19, at 21:59, Goffi wrote: [SNIP] I would subscribe to Moshe's and Jean-Paul's suggestions of using higher-level tools to handle database interactions. [SNIP] A final thought, from the realm of intuition: if I were targeting heavily concu

Re: [Twisted-Python] Changing procmon.ProcessMonitor.processes

2017-09-20 Thread ex vito
On 2017-09-19, at 15:49, Moshe Zadka wrote: > On Tue, Sep 19, 2017 at 3:51 AM ex vito wrote: > > Other than that, again, per that section's rules, not being a commiter > myself, I'm in no position to approve such a change. I wonder, however, how > "urgent" such a final change is to you and

Re: [Twisted-Python] How to correctly run Sqlite with Twisted?

2017-09-20 Thread ex vito
On 2017-09-19, at 21:59, Goffi wrote: > I'm using Sqlite3 module through Twisted's enterpirse.adbapi, I create the > ConnectionPool instance like this: > > self.dbpool = ConnectionPool("sqlite3", db_filename, > check_same_thread=False) > > You can see the code at > https://repos.goffi.org/