Re: [Twisted-Python] inlineCallbacks and current exceptions: leaky abstraction or bug?

2014-07-29 Thread HawkOwl
On 29 Jul 2014, at 6:56, Glyph Lefkowitz wrote: > On Jul 28, 2014, at 1:54 AM, Laurens Van Houtven <_...@lvh.io> wrote: > >> Honored twistedeers, > > Seriously, we need to come up with a good collective noun for ourselves one > day. We should have a referendum or something. I’ve used the ter

Re: [Twisted-Python] inlineCallbacks and current exceptions: leaky abstraction or bug?

2014-07-29 Thread Dustin J. Mitchell
Bare except and bare raise are both bad Python style in general, for exactly the reasons that lvh and glyph have identified. That inlineCallbacks (might?) turn "bad style as it might fail when you least expect it" into "always fails" doesn't seem like a bug to me -- in fact, by removing some nonde

Re: [Twisted-Python] Process pools and logging

2014-07-29 Thread burak
Hey Phil, If I am understanding you correctly, you should be able to do some of these with Ampoule. I am doing all but the last (tac) on my app. (Aether) Ampoule definitely needs some love, though. If I had time I'd possibly be taking care of it, since it seems to be abandoned. Burak Sent

[Twisted-Python] Process pools and logging

2014-07-29 Thread Phil Mayers
Before I re-invent the wheel, is there a twisted library that will let me: 1. Fire up child worker processes 2. That log to a logObserver coming out in the parent 3. Manage the whole lot as a .tac file Note I *don't* need deferToProcess or similar in this situation. I just need to fire up N