[Twisted-Python] How to call super() using attrs?

2017-06-20 Thread Felipe Dau
I am trying to use attrs in a class that inherits from Thread but I have not found a way to call super(): >>> @attr.s ... class T(Thread, object): ... def __attr_post_init__(self): ... super(T, self).__init__() ... >>> t = T() >>> t.start() Tracebac

[Twisted-Python] lineCallbacks failure message difference between python2 and 3

2017-06-20 Thread aaron eagerman
Here's code that generates an error on line #9 in f1() 1 import time, sys 2 from twisted.internet import reactor 3 from twisted.internet.task import deferLater 4 from twisted.internet.defer import inlineCallbacks 5 6 @inlineCallbacks 7 def f1(): 8 yield time.time() 9 {'a'

Re: [Twisted-Python] lineCallbacks failure message difference between python2 and 3

2017-06-20 Thread Craig Rodrigues
On Tuesday, June 20, 2017, aaron eagerman wrote: > > Is there any way (aside from adding logging at each level to > internet/defer.py:_inlineCallbacks) to get a better error message in py3? > Aaron, Pierre Tardy submitted this patch for precisely the problem you described: https://github.com

Re: [Twisted-Python] Cannot access raise ticket in Issue Tracker

2017-06-20 Thread Glyph
> On Jun 19, 2017, at 4:14 PM, Christopher Armstrong > wrote: > > > On Mon, Jun 19, 2017 at 5:37 PM, Jean-Paul Calderone > mailto:exar...@twistedmatrix.com>> wrote: > On Mon, Jun 19, 2017 at 4:33 PM, David Worenklein > wrote: > Hi, > > > I’m trying to post a d