Re: [Twisted-Python] ANN: Eliot 1.7, the causal logging library, now with inlineCallbacks support

2019-03-25 Thread Itamar Turner-Trauring
> Interesting library. > > It seems that I cannot have a action finish with an error unless I raise an > exception. That seems limiting, there are lots of cases where I have code > that hits an error condition and does not raise an exception. For example > an HTTP request that gets a non 200 statu

Re: [Twisted-Python] ANN: Eliot 1.7, the causal logging library, now with inlineCallbacks support

2019-03-22 Thread Itamar Turner-Trauring
Hi! On Fri, Mar 22, 2019, at 3:01 AM, Chris Withers wrote: > Have you looked at tools like https://www.jaegertracing.io/? > Feels like quite a similar approach to Eliot, and it's be fantastic if > Eliot could provide contexts to Jaeger for Twisted applications! There are some similarities, yes.

[Twisted-Python] ANN: Eliot 1.7, the causal logging library, now with inlineCallbacks support

2019-03-21 Thread Itamar Turner-Trauring
Python and Twisted's built-in `logging` output a stream of factoids: they’re interesting, but you can’t really tell what’s going on. * Why is your application slow? * What caused this code path to be chosen? * Why did this error happen? Standard logging can’t answer these questions. But with

[Twisted-Python] ANN: Crochet 1.8.0, now with unmangled function signatures

2017-08-09 Thread Itamar Turner-Trauring
the original signatures, for better IDE and doc-generation support. It also has fix for AWS Lambda, and improved documentation. https://github.com/itamarst/crochet for source, docs at https://crochet.readthedocs.io/en/stable/, pip install crochet to get it. -- Itamar Turner-Trauring

Re: [Twisted-Python] Some things I've learned: safer callbacks, better t.p.context

2016-10-19 Thread Itamar Turner-Trauring
On Tue, Oct 18, 2016, at 03:44 PM, Glyph Lefkowitz wrote: > > I think Deferred as it is today is a pretty good compromise between > the two positions. On the one hand it is decoupled from the event > loop. On the other - and this is important - *no Deferred-returning > API will ever call your

Re: [Twisted-Python] Some things I've learned: safer callbacks, better t.p.context

2016-10-19 Thread Itamar Turner-Trauring
On Wed, Oct 19, 2016, at 05:45 PM, Itamar Turner-Trauring wrote: > Well... I had a test that went through synchronous Deferred path. And > yeah, it was easier to write than async test. But it failed to catch a > bug that was only in async case. So the problem I see is that > suppor

[Twisted-Python] Some things I've learned: safer callbacks, better t.p.context

2016-10-18 Thread Itamar Turner-Trauring
/2014/02/conquering-asynchronous-context-with-cls/ is best summary I've found with a bit of searching. -- Itamar Turner-Trauring ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

[Twisted-Python] Responding to PRs

2016-06-12 Thread Itamar Turner-Trauring
Hi all, Since we're starting to get PRs from random people it's worth trying to make the process as friendly as possible. So, maybe instead of telling new contribtutors "PRs won't be reviewed without an issue, see contributor guidelines" it would be better to say "Thanks for the PR! I opened

Re: [Twisted-Python] Need clarification on reviews for Python 3 fixes for Twisted

2016-05-27 Thread Itamar Turner-Trauring
On 05/27/2016 04:19 AM, Craig Rodrigues wrote: However, Adi has mentioned that in this document: http://twistedmatrix.com/trac/wiki/Plan/Python3, the strategy of submitting incremental Python3 fixes is not mentioned. Before doing any further reviews, Adi would like clarification that these types

Re: [Twisted-Python] [MIGRATION COMPLETE] Changes to Twisted's Trac (GitHub Authentication)

2016-04-28 Thread Itamar Turner-Trauring
On 04/27/2016 07:45 AM, Amber "Hawkie" Brown wrote: I would like to note that this migration has now finished, and you can now log in via GitHub. Legacy logins have been disabled, and previous admin accounts (except for a current handful) have been revoked in the name of minimising our securit

Re: [Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-14 Thread Itamar Turner-Trauring
On 04/13/2016 10:57 PM, Glyph wrote: One advantage of having this directly supported in Twisted, then, would be calling no_setup() (or equivalent) early on in 'twistd' and equivalent tools, so that crochet-using modules could be imported as part of a twisted-native plugin? That would be pretty

Re: [Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-13 Thread Itamar Turner-Trauring
On 04/13/2016 06:52 PM, Glyph wrote: Do you think maybe it's time to integrate Crochet into Twisted proper, so we can obviate the need for the 'setup()' step, and just have the reactor do that itself? Well, setup() runs the reactor in a thread, which is probably not what you want in a regul

Re: [Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-13 Thread Itamar Turner-Trauring
I messed up the email headers on this, so PLEASE BE CAREFUL if you're replying to this, or the reply will end up spamming python-announce-list. Sorry. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/ma

[Twisted-Python] Crochet 1.5.0: Use Twisted in Django, Flask, or anywhere else

2016-04-13 Thread Itamar Turner-Trauring
). If you need help using Crochet (or just general Twisted or Python help) I am currently available for short-term consulting. You can read the documentation at https://crochet.readthedocs.org/. --Itamar Turner-Trauring ___ Twisted-Python mailing lis

[Twisted-Python] Available for consulting: Python, Twisted, distributed systems

2016-04-06 Thread Itamar Turner-Trauring
Hi, If anyone is looking for some help with a project, Twisted or otherwise, I will be available over the next couple of months: prototyping new products, improving existing ones, and solving hard problems in general. For those who don't know me I started working on Twisted back in 2001, though I

Re: [Twisted-Python] HTTP/2 and Twisted

2015-11-15 Thread Itamar Turner-Trauring
On 11/13/2015 07:45 PM, Tristan Seligmann wrote: 1) The Twisted project has already experimentally demonstrated the imprudence of an approach that massively breaks backwards compatibility with old APIs (even if it does this in concordance with the compatibility policy, by adding a bunch of ne

Re: [Twisted-Python] Multiple reactors, connecting to self, or other solution?

2015-11-15 Thread Itamar Turner-Trauring
On 11/15/2015 10:19 AM, Oon-Ee Ng wrote: Based on my reading/searching, multiple reactors in the same process (even in multiple threads) is pretty much a no-go because twisted.internet.reactor is a global singleton. I'm also unable to find any information about connecting to self (for example, t

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

2015-10-10 Thread Itamar Turner-Trauring
On 2015-10-08 19:38, Glyph Lefkowitz wrote: > Does Eliot make use of the new logging system at all? If not, is there > anything that might make Eliot's Twisted backend easier to maintain if we > added it? Just kind of curious about adoption of those new APIs in the world > of logging...

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

2015-10-08 Thread Itamar Turner-Trauring
Eliot 0.9 is out, with a new utility for pretty-printing log messages and native journald support [1]. You can now route Eliot logs to journald and when an error occurs easily find all logged actions that led up to that particular error, as opposed to most logging systems where this would involve

[Twisted-Python] ANN: Eliot 0.8, the logging system with causality

2015-08-10 Thread Itamar Turner-Trauring
Most logging systems can tell you what happened; Eliot tells you _why_ it happened: $ python linkcheck.py | eliot-tree 4c42a789-76f5-4f0b-b154-3dd0e3041445 +-- check_links@1/started `-- urls: [u'http://google.com', u'http://nosuchurl'] +-- download@2,1/started `-- url: http://google.com +--

Re: [Twisted-Python] Porting twisted.spread.banana to py3

2015-07-02 Thread Itamar Turner-Trauring
On 2015-07-01 17:33, Glyph wrote: > We may actually need to change the wire protocol to allow some applications > to continue to work on py3, to allow for a 'text' type that corresponds to > Python unicode. This should probably be done after the initial port though. Really? That seems like

Re: [Twisted-Python] Porting twisted.spread.banana to py3

2015-07-01 Thread Itamar Turner-Trauring
On 2015-07-01 05:33, Jørn Lomax wrote: > I'm a gsoc student working on the buildbot project, porting it to py3. Part > of this is looking at porting the dependencies buildbot has in twisted and > try to port them. > > twisted.spread is the most used twisted dependency, so I have started wor

Re: [Twisted-Python] Twisted Fellowship 2015: Call for proposals

2015-06-26 Thread Itamar Turner-Trauring
On 06/07/2015 02:40 PM, Itamar Turner-Trauring wrote: On behalf of the Software Freedom Conservancy and the Twisted project I'm happy to announce that we're looking for a paid maintainer for the Twisted project. Funding a software developer to work as a maintainer will help Twisted

Re: [Twisted-Python] Twisted Fellowship 2015: Call for proposals

2015-06-09 Thread Itamar Turner-Trauring
On 2015-06-09 16:46, Jonathan Ballet wrote: > I never saw here, or anywhere else AFAIK, besides Tom Prince write ups when > he got hired, reports of the progress made through this fellow ship. > Did I miss anything or is there another public place than this mailing list > where I could find

Re: [Twisted-Python] Twisted Fellowship 2015: Call for proposals

2015-06-09 Thread Itamar Turner-Trauring
On 2015-06-07 14:40, Itamar Turner-Trauring wrote: > You can read more about the 2015 fellowship at > https://twistedmatrix.com/trac/wiki/Fellowship2015 [1] 1. If you've previously sent email make sure you sent it to updated email address there - it changed recently (though

[Twisted-Python] Twisted Fellowship 2015: Call for proposals

2015-06-07 Thread Itamar Turner-Trauring
On behalf of the Software Freedom Conservancy and the Twisted project I'm happy to announce that we're looking for a paid maintainer for the Twisted project. Funding a software developer to work as a maintainer will help Twisted grow as a project, and enable Twisted's development community to

Re: [Twisted-Python] New Supported Platforms - Python 3.3 and Python 3.4 on Debian 7

2015-05-08 Thread Itamar Turner-Trauring
On 2015-05-08 00:36, HawkOwl wrote: > The best way to find out what may or may not work is to run your test suite > against a trunk version of Twisted under Python 3, making sure that your code > compiles (and fixing anything to operate on 2/3, which is rather easy for > most things), and s

[Twisted-Python] Crochet 1.4.0: use Twisted anywhere!

2015-05-06 Thread Itamar Turner-Trauring
s://pypi.python.org/pypi/crochet for downloads. https://crochet.readthedocs.org/ for documentation. --Itamar Turner-Trauring ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Urgent - reactor is not working out of a sudden

2015-05-02 Thread Itamar Turner-Trauring
On 05/02/2015 12:44 PM, Jessica Tsui wrote: Hi Itamar, I do understand that, however the case is that my code is not working all of a sudden. It was fine a minute ago, server clients are connecting well through listenTCP and connectTCP...however suddenly the program returns failure in conne

Re: [Twisted-Python] Urgent - reactor is not working out of a sudden

2015-05-02 Thread Itamar Turner-Trauring
On 05/02/2015 11:54 AM, Jessica Tsui wrote: I was working on my program and everything was fine, out of the blue the python editor just told me that connectTCP and listenTCP cannot be referenced in reactor.py. I tried to reinstall twisted but that didn't help at all. How could I solve this?

Re: [Twisted-Python] Announcing Eliot 0.7: Logging for complex and distributed systems (with nice Twisted support)

2015-04-28 Thread Itamar Turner-Trauring
On 2015-04-28 18:15, Glyph Lefkowitz wrote: > You could probably make it look even cooler by using unicode line-drawing > characters :-). Jonathan Jacobs is responsible for the neat UI. > Also, is there a web frontend which can render these? Will there be? Since the underlying structure i

[Twisted-Python] Announcing Eliot 0.7: Logging for complex and distributed systems (with nice Twisted support)

2015-04-28 Thread Itamar Turner-Trauring
Imagine you have a client that sends a request to a server and gets back a 500 error. What caused it? If you're using Eliot you can trace the logs across processes: $ cat server.log client.log | python eliottree.py e076ca50-9abc-44b2-95d8-85cf6956bc33 +-- main@1/started |-- process: client

Re: [Twisted-Python] Looking for some advice debugging issue with transport.write calls

2015-04-27 Thread Itamar Turner-Trauring
self.in_send_message seems like a potential source of bugs (can't see it being set to False on all branches here) and is also likely unnecessary. General advice: 1. Simplify, simplify, simplify. 2. Unit tests (see https://twistedmatrix.com/documents/current/core/howto/trial.html). _

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

2015-03-18 Thread Itamar Turner-Trauring
+1 ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

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. _

[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] 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

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-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

[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] 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

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

[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] 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()

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] 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] 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

[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] 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: 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] 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

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] 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] Serial interface for software program

2014-05-05 Thread Itamar Turner-Trauring
If Spyder *just* uses Qt, it's a single-threaded event loop. There's a 3rd party event loop for Twisted that runs on top of Qt (qt4reactor), which would allow Twisted and Qt code to run in the same thread. -Itamar ___ Twisted-Python mailing list Twis

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

2014-04-14 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 implementatio

Re: [Twisted-Python] Twisted 14.0.0-pre2 Announcement

2014-04-09 Thread Itamar Turner-Trauring
On 04/09/2014 03:48 PM, exar...@twistedmatrix.com wrote: And that shortcoming could be mitigated by documenting (or even formally declaring) this dependency more prominently (I see it's in the NEWS file and the SSL howto but not, for example, in the INSTALL file). A ssl-requirements.txt file

[Twisted-Python] Twisted at PyCon 2014

2014-04-09 Thread Itamar Turner-Trauring
PyCon is upon us; here's some of the Twisted-related talks and events this year (I may be missing a few, and this year I'm only mentioning stuff that will specifically mentions Twisted): Tutorials Aurynn Shaw will be teaching a Twisted tutorial today - https://us.pycon.org/2014/schedule

[Twisted-Python] ANN: Crochet 1.1.0

2014-03-14 Thread Itamar Turner-Trauring
Crochet is an MIT-licensed library that makes it easier for blocking or threaded applications like Flask or Django to use the Twisted networking framework. Crochet provides the following features: * Runs Twisted's reactor in a thread it manages. * The reactor shuts down automatically when the

Re: [Twisted-Python] git?

2014-03-13 Thread Itamar Turner-Trauring
On 03/13/2014 03:14 AM, HawkOwl wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Chris, I can assure you this topic has come up many times - and unless we have volunteers that can manage to get the several thousand tickets with comment history into GitHub (which I'm sure that nobody want

Re: [Twisted-Python] Configuration options for twisted code

2014-03-03 Thread Itamar Turner-Trauring
On 03/03/2014 01:09 PM, Adi Roiban wrote: What do you think? Should I go ahead and add options as __init__ arguments or think of a configuration system? A configuration system would take a while to design and meanwhile these unrelated features would languish, so I'd suggest you start with

Re: [Twisted-Python] Deadlocks when launching processes - how to investigate?

2014-02-15 Thread Itamar Turner-Trauring
On 02/14/2014 07:21 AM, Orestis Markou wrote: Hello, I just filed https://twistedmatrix.com/trac/ticket/6972 The issue I'm facing is a deadlocked Python on OS X when a lot of processes are spawned. In the repro script we do this very aggressively to trigger the deadlock quickly, but the actua

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-28 Thread Itamar Turner-Trauring
I am imagining having a remotely accessible login() method on the avatar returned by the realm. I meant to say read current implementation, not "urgent". Written on an iPad still, sorry. ___ Twisted-Python mailing list Twisted-Python@twistedmatri

Re: [Twisted-Python] multiple log-in / perspective broker

2013-12-27 Thread Itamar Turner-Trauring
On 2013-12-27 16:48, Daniel Sank wrote: > Anyone? ___ Do your own cred login() to the new Realm, or maybe Portal if need auto auth. Read how urgent existing login code works, it is just a thin layer. I can't really give a good answer when typing o

[Twisted-Python] twistedmatrix.com will be down at some point today for a RAM upgrade

2013-12-13 Thread Itamar Turner-Trauring
FYI. -Itamar ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Filing Bugs

2013-12-11 Thread Itamar Turner-Trauring
Sigh. I'll see if there's some relevant bug fixes in the newer version of the auth trac plugin I believe we're using. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Filing Bugs

2013-12-10 Thread Itamar Turner-Trauring
On 12/09/2013 12:43 PM, Daniel Sank wrote: This is an update because glyph asked about this issue in another thread but I want to put the information where it belongs: 1. Try to log in. Does not accept credentials (login box simply reappears with username and password fields blank). 2. Cannot f

Re: [Twisted-Python] Filing Bugs

2013-12-05 Thread Itamar Turner-Trauring
I'm travelling for work this week, but if no one fixes it by the time I'm back I'll see what I can figure out. Trac is terrible :( ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twiste

Re: [Twisted-Python] Scaling Twisted Web on multicore

2013-10-31 Thread Itamar Turner-Trauring
On 10/30/2013 07:28 PM, Tobias Oberstein wrote: Hi, I have done some testing of scaling Twisted Web on multicore and wanted to share: https://github.com/oberstet/scratchbox/tree/master/python/twisted/sharedsocket This was PyPy, yes? ___ Twisted-Py

Re: [Twisted-Python] epoll keep sharing state between process even after fork.

2013-10-24 Thread Itamar Turner-Trauring
On 10/23/2013 12:50 PM, Phil Mayers wrote: This is a multiprocessing bug IMHO. This issue with multiprocessing appears in other places too. E.g. if you're using stdlib logging, child processes will try to rotate the parent process logs. Basically multiprocessing on Unix is utterly broken a

Re: [Twisted-Python] Flow-control for Pipes / Unix Domains Sockets?

2013-10-21 Thread Itamar Turner-Trauring
On 10/21/2013 04:48 PM, Tobias Oberstein wrote: Flow-control for Pipes / Unix Domains Sockets? Hi, with TCP (either remote or loopback) I can have flow-control using the producer-consumer machinery that Twisted provides. Is that (flow-control / producer-consumer) also available (and practica

Re: [Twisted-Python] serial communication - getting started

2013-10-21 Thread Itamar Turner-Trauring
On 10/21/2013 07:35 AM, Robert Voigtländer wrote: def SerialInit(): ... reactor.run() thread.start_new_thread(SerialInit()) if __name__ == '__main__': print("-") s.write('123456789') #s.write("\n") 1. Twisted is not thread-safe, so you can't call methods on the protocol f

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

2013-10-19 Thread Itamar Turner-Trauring
Crochet is an MIT-licensed library that makes it easier for blocking or threaded applications like Flask or Django to use the Twisted networking framework. Crochet provides the following features: * Runs Twisted's reactor in a thread it manages. * The reactor shuts down automatically when the

Re: [Twisted-Python] Setting source address of outgoing datagrams

2013-10-16 Thread Itamar Turner-Trauring
On 10/16/2013 03:36 AM, Maciej Wasilak wrote: All in all the problem with using wrong source address can be easilly solved with a bit of user attention, however it's hard to find the solution that "just works". There's an OS API (recvmsg?) that lets you get at this information; I believe Tw

Re: [Twisted-Python] Setting source address of outgoing datagrams

2013-10-14 Thread Itamar Turner-Trauring
On 10/12/2013 10:27 AM, Maciej Wasilak wrote: I deploy my protocol like that: reactor.listenUDP(5683, myapp.MyProtocol(), interface="::") reactor.run() The problem is: 1. My server receives a request from remote client (with destination address being valid global IPv6 address) 2. The server s

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

2013-10-08 Thread Itamar Turner-Trauring
On 10/08/2013 12:21 PM, Tobias Oberstein wrote: PS: One suggestion for the docs: it could be helpful to contrast the approach crochet takes with the other option of having a Twisted Web WSGI resource for running Flask (and other WSGI stuff) so users can make an informed decision. That's a

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

2013-10-07 Thread Itamar Turner-Trauring
Crochet is an MIT-licensed library that makes it easier for blocking or threaded applications like Flask or Django to use the Twisted networking framework. Crochet provides the following features: * Runs Twisted's reactor in a thread it manages. * The reactor shuts down automatically when the

Re: [Twisted-Python] Multiplexing streams with Conch

2013-08-05 Thread Itamar Turner-Trauring
On 08/05/2013 01:49 PM, Laurens Van Houtven wrote: Hi, I'd like to do something akin to port forwarding using Conch. Specifically, I want to be able to make connections to something listening on a particular port on the client, and I want the client to be able to make connections to some Clie

Re: [Twisted-Python] Help with trial test failure

2013-08-04 Thread Itamar Turner-Trauring
On 08/04/2013 10:25 AM, Benjamin BERTRAND wrote: Hi, I'm trying to write a simple gateway to receive messages using a specific protocol and publish/store them using txredis. I wrote a small example that seems to work. But the small test I wrote fails: $ trial gateway/test gateway.test.test_exa

Re: [Twisted-Python] Twisted and Qt5

2013-07-20 Thread Itamar Turner-Trauring
On 07/20/2013 08:04 AM, Burak Nehbit wrote: 1) I know there is a Qt4 reactor (which I managed to get to work and pass the twisted test suite) for Twisted. Is there such a thing for Qt5? Is it planned? Have the Qt APIs changed enough that you can't just us

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-14 Thread Itamar Turner-Trauring
On 07/14/2013 10:18 AM, Harry Bock wrote: Is this something I can open a ticket for? I believe there's already a ticket of sorts, with an old defunct branch starting working on this - https://twistedmatrix.com/trac/ticket/2366 - it would be really great if you could revive it and add support

Re: [Twisted-Python] Python 3: bytes vs. str in twisted.python.filepath

2013-07-14 Thread Itamar Turner-Trauring
On 07/13/2013 10:00 PM, Harry Bock wrote: Hi all, My name is Harry Bock. I'm interested in helping out porting Twisted to Python 3, and I've popped in IRC a few times to introduce myself and ask a few questions. A few developers agreed that working on trial dependencies would be a big help.

Re: [Twisted-Python] Setting socket options before connect

2013-07-12 Thread Itamar Turner-Trauring
Subclass twisted.internet.tcp.Client, override createInternetSocket() so it calls setsockopt() on the socket after you've called base implementation to create it. This breaks some abstraction boundaries, so it isn't great, but very little code duplication is involved. -- Itamar Turne

Re: [Twisted-Python] Twisted web, giant-file POST forwarding and early bail-out.

2013-07-09 Thread Itamar Turner-Trauring
On 07/09/2013 07:30 AM, Itamar Turner-Trauring wrote: HTTP clients can send a "Expects: 100-continue" header (or something like that), which tells the server it should give an early rejection or acceptance before the client sends the data, in *addition* to the final response. You w

Re: [Twisted-Python] Twisted web, giant-file POST forwarding and early bail-out.

2013-07-09 Thread Itamar Turner-Trauring
On 07/09/2013 04:04 AM, Rob Meijer wrote: 3) When the token does not check out, or the connection to the server fails, it remains a mystery to me how I should throw an error in such a way that it allows me to send a proper error message to the client, while not having to first accept the whole la

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-18 Thread Itamar Turner-Trauring
On 06/18/2013 05:24 PM, Glyph wrote: Hrm. I would say that if you don't document exceptions, then you just have to support whatever your behavior was before :). http://twistedmatrix.com/trac/wiki/CompatibilityPolicy does not explore this issue, though. The many possible options in this ca

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-18 Thread Itamar Turner-Trauring
On 06/18/2013 02:22 PM, Glyph wrote: Making an API that previously documented raising (or failing) exception types A, B, and C raise (or fail with) D is not necessarily a compatible change. Making it raise (or fail with) A' (a subclass of A) is, though. The API for pop3client does *not* docu

Re: [Twisted-Python] If the errbacks of a canceled Deferred are called with error other than CancelledError, is this acceptable?

2013-06-18 Thread Itamar Turner-Trauring
By way of background, Kai Zhang is one of our GSoC interns, working on adding Deferred cancellation support to Twisted. I believe the specific module he is working on is the POP3 client, but it's a general question - should we try to keep CancelledError percolating all the way to the top of callbac

Re: [Twisted-Python] any progress for Ticket #6346, #6378?

2013-05-29 Thread Itamar Turner-Trauring
Can you please not quote the whole email in your reply? I have to scroll through pages and pages of text to reach the section you wrote. I realize GMail hides it by default, but I am not using GMail. -Itamar ___ Twisted-Python mailing list Twisted-Pyt

Re: [Twisted-Python] any progress for Ticket #6346, #6378?

2013-05-28 Thread Itamar Turner-Trauring
On 05/28/2013 08:31 PM, Alec Matusis wrote: >>By reading these comments, It looks like recent version of twisted >> may >> suffer from this problem. So what version of twisted should I use? Do >> I >> need to keep using 10.1? > This problem is very frequent on Linux with Python 2.7 / Twisted 1

[Twisted-Python] Announcing Crochet 0.7: Easily use Twisted from threaded applications

2013-05-24 Thread Itamar Turner-Trauring
int result.wait() You can see more examples, read the documentation, and download the package at: https://pypi.python.org/pypi/crochet -- Itamar Turner-Trauring, Future Foundries LLC http://futurefoundries.com/ — Twisted consulting, training and support.

Re: [Twisted-Python] Helping the Python 3 port

2013-05-08 Thread Itamar Turner-Trauring
On 05/08/2013 10:30 AM, Jonathan Ballet wrote: > Hi, > > I'm interested to give a help to port Twisted to Python 3. > I gave a look at the tickets on Trac tagged with py3k and those in the > Python-3.x milestone. I gave a try at > http://twistedmatrix.com/trac/ticket/5802 to see what still needed t

Re: [Twisted-Python] Twisted Web documentation out of date

2013-05-06 Thread Itamar Turner-Trauring
Thanks for reporting this; could you file a bug at http://twistedmatrix.com/trac/? ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] Twisted Web documentation out of date

2013-05-06 Thread Itamar Turner-Trauring
ds, > Pierre. > > -- > Pierre Jaury > Weblog - http://kaiyou.fr > GPG ID - E804FB60 > > > ___ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/li

Re: [Twisted-Python] suggestions for improvement in Twisted APIs

2013-05-04 Thread Itamar Turner-Trauring
On 05/04/2013 07:28 AM, Miika Komu wrote: > Howdy, > > we investigated the networking APIs of Twisted (10.2) and published our > findings in Ottawa Linux Symposium 2012: > > http://nw.dreamhosters.com/ols/ols2012/ols2012-komu.pdf Thanks for sending us your suggestions for improvement. I'm wondering

Re: [Twisted-Python] [Twisted-gsoc] Eligible for OPW this summer?

2013-04-30 Thread Itamar Turner-Trauring
Argh. Wrong list. Sorry. ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Re: [Twisted-Python] [Twisted-gsoc] Eligible for OPW this summer?

2013-04-30 Thread Itamar Turner-Trauring
On 04/30/2013 04:28 PM, mulhern wrote: > OK! > > Should I send in code samples to you…or do they go elsewhere? Send them to twisted-g...@twistedmatrix.com. > A lot of the easy tickets are in some sense taken…at least have a patch. Yeah, lots of Google Summer of Code candidates so we're running l

Re: [Twisted-Python] Improved StandardIO support in Windows

2013-04-19 Thread Itamar Turner-Trauring
On Fri, Apr 19, 2013 at 2:21 AM, John Popplewell wrote: > Hi all, > > I've recently put together a series of patches and new files that expand > upon and improve the work done in Ticket #2157 > http://twistedmatrix.com/trac/ticket/2157 > > > Not sure how to proceed so I'm doing as exarkun suggeste

[Twisted-Python] Job posting: Technical Team Lead at CritSend

2013-04-18 Thread Itamar Turner-Trauring
One of my consulting clients is hiring a team lead; lots of Twisted development, as well as Django: https://docs.google.com/a/futurefoundries.com/document/d/1dPgt3fc_3-7bS6Wr_YZO6nEaIFrdFNqQ653wUgD3MNY/edit Regards, -Itamar ___ Twisted-Python mailing

[Twisted-Python] Please help with Google Summer of Code and Outreach Program for Women

2013-04-17 Thread Itamar Turner-Trauring
We've got lots of interested candidates for GSoC and OPW, and could use the community's help. 1. If you know of any easy tickets, please add the easy keyword to them. 2. Please review tickets that have the easy keyword, they are likely from potential candidates, and Tom Prince has some urge

Re: [Twisted-Python] GSoC and OPW Participation

2013-04-16 Thread Itamar Turner-Trauring
On 04/16/2013 09:16 AM, Jiabao Wu wrote: Hi, I am Jiabao Wu, 1st year postgraduate student in Australian National University. At the end of last year, I graduated in B.IT in ANU with double major of Software Development and IT in New Media Arts. I am currently studying a cours

  1   2   3   4   5   >