Re: [Twisted-Python] Serial interface for software program

2014-05-05 Thread Itamar Turner-Trauring
On 05/05/2014 03:06 PM, exar...@twistedmatrix.com wrote: However, I'm not even sure if the GUI reactors *should* be distributed as part of the main Twisted package. They are already first-class reactors via the plugin system. Independent releases let them track changes in the GUI library th

Re: [Twisted-Python] The Twisted 14.0 Release Pre-Post-Mortem, and Where To From Here

2014-05-07 Thread Itamar Turner-Trauring
A diff between the 14.0.0pre5 branch and trunk suggests merging it into trunk would do bad things, so I'm not sure it's releasable as is... This may be operator error on my part though. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com h

Re: [Twisted-Python] TCP and ICMP

2014-05-11 Thread Itamar Turner-Trauring
On 05/11/2014 05:01 AM, Tom van Neerijnen wrote: You might find something to use in http://twistedmatrix.com/documents/current/api/twisted.pair.html, or at least an idea of how to implement it from one of the existing components. I believe the version of twisted.pair in 14.0 (or release candi

[Twisted-Python] ANN: Eliot: a framework for Logging as Storytelling

2014-05-16 Thread Itamar Turner-Trauring
Eliot provides a structured logging and tracing system for Python that generates log messages describing a forest of nested actions. Actions start and eventually finish, successfully or not. Log messages thus tell a story: what happened and what caused it. Here's what your logs might look like

Re: [Twisted-Python] Porting Twisted to Python 3.

2014-05-20 Thread Itamar Turner-Trauring
On 05/20/2014 05:40 AM, Maxim Lacrima wrote: Hello! I can see that Python 3 support in Twisted is incomplete. I was able to `pip install twisted` on Python 3, but I couldn't run a simple example program using Twisted Agent. A simple `from twisted.web.client import Agent` causes `ImportError:

[Twisted-Python] ANN: Crochet 1.3.0 - Use Twisted Anywhere!

2014-05-31 Thread Itamar Turner-Trauring
Crochet is an MIT-licensed library that makes it easier to use Twisted from regular blocking code. Some use cases include: * Easily use Twisted from a blocking framework like Django or Flask. * Write a library that provides a blocking API, but uses Twisted for its implementation. * Port bl

Re: [Twisted-Python] ANN: Crochet 1.3.0 - Use Twisted Anywhere!

2014-06-02 Thread Itamar Turner-Trauring
On 05/31/2014 04:08 PM, Itamar Turner-Trauring wrote: This is a bugfix release, recommended for all users of Crochet. More specifically, if you've been getting spurious RuntimeErrors complaining about waiting during imports you want this release. -I

Re: [Twisted-Python] Trac downtime

2014-06-23 Thread Itamar Turner-Trauring
Can we re-enable general commenting now? Or is the spam setup still in progress? ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Scalability of timers

2014-08-10 Thread Itamar Turner-Trauring
There is only one select() call (or whatever) at any given time, regardless of how many timers. Syscalls are thus O(1). Timers are stored in sorted order. When event loop wakes up it removes timers that have been reached, which is fast because they're sorted so when you hit one that is still in

Re: [Twisted-Python] Scalability of timers

2014-08-10 Thread Itamar Turner-Trauring
On 08/10/2014 06:23 PM, Tobias Oberstein wrote: I want to trade less precision (timers fire at less exact times) for higher efficiency (less context switches). It's easy enough to write one yourself. This might work: from twisted.internet.task import Clock, LoopingCall clock = Clock()

[Twisted-Python] ANN: Flocker 0.1, a data volume manager and multi-host Docker cluster management tool

2014-08-14 Thread Itamar Turner-Trauring
Flocker is an open source data volume manager and multi-host Docker cluster management tool. With it you can control your data using the same tools you use for your stateless applications. This means that you can run your databases, queues and key-value stores in Docker and move them around as e

Re: [Twisted-Python] Twisted WebSockets Branch

2014-08-23 Thread Itamar Turner-Trauring
On 2014-08-21 22:24, Rob Oakes wrote: > a. Which of the two websocket branches should be used as the basis for new > work? > > On GitHub, websocket-4173-4 is marked as closed with a note telling the > contributor to see the contribution guidelines. There are also several > additions to th

Re: [Twisted-Python] epoll 2.4 kernel

2014-09-11 Thread Itamar Turner-Trauring
Easiest thing for you to do is install a poll reactor as the custom reactor: https://twistedmatrix.com/documents/current/core/howto/choosing-reactor.html#core-howto-choosing-reactor-poll ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com

[Twisted-Python] Announcing Eliot 0.5.0: Structured Logging as Storytelling

2014-10-23 Thread Itamar Turner-Trauring
Eliot provides a structured logging and tracing system for Python that generates log messages describing a forest of nested actions. Actions start and eventually finish, successfully or not. Log messages thus tell a story: what happened and what caused it. Eliot has first class support for Twi

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

2014-11-04 Thread Itamar Turner-Trauring
On 2014-11-03 23:10, Glyph wrote: > In favor again of reverting is the fact that no code outside > twisted.python.logger or twisted.python.log has been modified to take > advantage of the new system, so we're not going to be breaking any > dependencies on trunk. Except for the fact that Tw

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

2014-11-05 Thread Itamar Turner-Trauring
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 with respect to its usability in 14.0? Logger b

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

2014-11-05 Thread Itamar Turner-Trauring
http://twistedmatrix.com/trac/ticket/7563 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] ANN: Eliot 0.6: Logging for Complex & Distributed Systems

2014-12-10 Thread Itamar Turner-Trauring
Eliot is a logging system designed not only for simple applications but for complex applications as well, including distributed systems. Eliot supports simple structured messages but can also record a causal chain of actions happening within and across process boundaries: a logical trace of the s

Re: [Twisted-Python] Tubes!

2014-12-11 Thread Itamar Turner-Trauring
I would suggest including the Twisted support inside tubes as a first pass, restricted to a module (e.g. tubes.helical). Less overhead and as long as it's optional it's not preventing anyone from using tubes with other frameworks. Otherwise, +100. _

Re: [Twisted-Python] Phasing out old-style classes

2009-10-08 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Thu, 2009-10-08 at 21:03 -0400, Mark Visser wrote: > Is there a project underway to port Twisted to Python 3.x? Not at the moment. Supporting both 2.x and 3.x is harder than it should be, and all of Twisted's users (and almost all Python users) use 2.x. -Itamar _

Re: [Twisted-Python] Can I post a consultant request here?

2009-10-15 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Thu, 2009-10-15 at 00:01 -0400, Steve Steiner (listsin) wrote: > Hey! > > I apologize in advance if this type of request is not desired/allowed > on this list. Nope, it's fine. You might also want to post to the twisted-web list. > I'm looking for a very short-term mentoring/con

Re: [Twisted-Python] Fwd: Twisted WSGI (trunk) + Django 1.1.1 + Pinax Twisted WSGI setup == broken forms?

2009-10-31 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
You might also try the twisted-web list. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] reverse web proxy & threads

2009-11-02 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Mon, 2009-11-02 at 21:11 +0600, Artem Bokhan wrote: > Hello! > > I'm playing with reverse proxy from examples > (Twisted-8.2.0/doc/web/examples/proxy.py). May somebody explain what > part of code uses threads there? > > pstree -p | grep python > > -python(12786)-+-{python}(12795) >

Re: [Twisted-Python] A non-blocking socket operation could not be completed immediately

2009-11-18 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Wed, 2009-11-18 at 06:03 -0800, Tommaso Mazzafico wrote: > I tried this code: > > - > from twisted.spread import pb > from twisted.internet import reactor > > class Echoer(pb.Root): >def remote_echo(self, s): > return s > if __name__ == "__main

Re: [Twisted-Python] long-polling channels with Twisted

2009-11-19 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Wed, 2009-11-18 at 18:22 -0500, vit...@synapticvision.com wrote: > hi, > is there any example how to implement long-polling channel with > Twisted while using reactor()? What is a "long-polling channel"? ___ Twisted-Python mailing list Twisted-Pyt

Re: [Twisted-Python] Way to fix memory leaks of external c module

2009-11-28 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Sat, 2009-11-28 at 15:05 +0200, MārisR wrote: > I wondering if its possible to load utidylib in thread, do processing > and after this kill thread and release memory? Or maybe something like > deferToProcess? 1. You should report the bug to the utidylib authors, so they can fix it or pass it o

Re: [Twisted-Python] reactor.callLater() or reactor.callFromThread() when sending msg just before quit

2009-12-08 Thread Itamar Turner-Trauring (aka Shtull-Trauring)
On Tue, 2009-12-08 at 13:50 +0100, Gabriel Rossetti wrote: > I have to send a message just before my service quits, but sometimes the > reactor quits before the msg is sent. > I was wondering if I should user reactor.callLater like so : ... > (which I don't really like), or use reactor.callFromThr

<    1   2   3   4   5