Hello to all!
Why traceback doesn't include call of g() here?
import traceback
from twisted.internet import defer, reactor
def decor1(f, *argv, **kw):
@defer.inlineCallbacks
def decor1():
try:
res = yield f(*argv, **kw)
defer.returnValue(res)
I'm implementing some project based on twisted.
I would like to use some logging mechanism in my modules and see both
twisted generated log records and log records from my modules
and be able to filter log records by level and source (generated by
twisted, or subset of my modules).
What s
On Mar 14, 2013, at 3:05 AM, Sergey Gerasimov wrote:
> I’m implementing some project based on twisted.
>
> I would like to use some logging mechanism in my modules and see both twisted
> generated log records and log records from my modules
> and be able to filter log records by level and sou
It's also perfectly fine to use python's logging module from within
twisted, you don't have to use twisted.log, but you should be aware this
will make your log files hard to correlate (between twistd.log and your own
logfiles).
On Thu, Mar 14, 2013 at 10:05 AM, Sergey Gerasimov wrote:
> I’m imp
On 09:40 am, ser...@gmail.com wrote:
>Hello to all!
>
>Why traceback doesn't include call of g() here?
Tracebacks are tricky, and inlineCallbacks doesn't make them look
exactly like they would look if you didn't have Deferreds.
twisted.python.failure is a little bit better at handling tracebacks
On 01:52 pm, step...@thorne.id.au wrote:
>It's also perfectly fine to use python's logging module from within
>twisted, you don't have to use twisted.log, but you should be aware
>this
>will make your log files hard to correlate (between twistd.log and your
>own
>logfiles).
For posterity: within
I'm organizing a Twisted BoF session/open space.
I've tried to get a combination of a) nice room b) no collisions with
anyone's talks. I have it down for 7-9 in Great America Meeting Room 2
(that's next to the room where Itamar's tutorial was).
I'm in charge of open spaces, so I can probably cate
By the way, this is *Friday*
On Thursday, March 14, 2013, Laurens Van Houtven <_...@lvh.cc> wrote:
> I'm organizing a Twisted BoF session/open space.
>
> I've tried to get a combination of a) nice room b) no collisions with
> anyone's talks. I have it down for 7-9 in Great America Meeting Room 2