Re: [Twisted-Python] Problem with osx10.10-py2.7 builder

2018-03-26 Thread Jean-Paul Calderone
On Mon, Mar 26, 2018 at 2:58 AM, Glyph wrote: > Alternately... > > The reason we're doing this at all is that Travis's macOS situation was > pretty dismal when we last tried it. But then, the graphs on > https://www.traviscistatus.com at the time matched that experience: > routinely there were b

Re: [Twisted-Python] Asynchronous code in a context manager

2018-03-26 Thread Peter Westlake
Sadly, no. Should have said, sorry: it's 2.7.3. Peter. On Fri, 23 Mar 2018, at 17:54, meejah wrote: > > Are you using Python3? Then there's "asynchronous context managers". I > finally found a use-case for one in txtorcon, so here's an example: > > > http://txtorcon.readthedocs.io/en/latest

Re: [Twisted-Python] Strategy for finding source of unhandled error in Deferred

2018-03-26 Thread Barry Scott
On Sunday, 18 March 2018 15:23:58 BST Jean-Paul Calderone wrote: > On Sun, Mar 18, 2018 at 11:21 AM, Jean-Paul Calderone < > > exar...@twistedmatrix.com> wrote: > > On Sun, Mar 18, 2018 at 11:04 AM, Alex Railean wrote: > >> Hello, > >> > >> I have inherited a misbehaving system and am trying to

Re: [Twisted-Python] Strategy for finding source of unhandled error in Deferred

2018-03-26 Thread Jean-Paul Calderone
On Mon, Mar 26, 2018 at 10:47 AM, Barry Scott wrote: > On Sunday, 18 March 2018 15:23:58 BST Jean-Paul Calderone wrote: > > > > Try this: > > > > from twisted.internet.defer import setDebugging > > setDebugging(True) > > > > This gives you creation and callback stacks in the logs. > > If

[Twisted-Python] Anonymous ESMTP Server

2018-03-26 Thread Khanorkar, Veeresh
All, In order to accomdate a very old system, I need to write anonymous esmtp server. Is a sample code available somewhere? ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com https://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-pytho

Re: [Twisted-Python] Problem with osx10.10-py2.7 builder

2018-03-26 Thread Glyph
> On Mar 26, 2018, at 3:32 AM, Jean-Paul Calderone > wrote: > > On Mon, Mar 26, 2018 at 2:58 AM, Glyph > wrote: > Alternately... > > The reason we're doing this at all is that Travis's macOS situation was > pretty dismal when we last tried it. But then, the