Re: [Twisted-Python] twisted.internet.protocol.Protocol.connected flag purpose

2016-08-11 Thread Glyph Lefkowitz
> On Aug 11, 2016, at 7:21 AM, Adi Roiban wrote: > > Hi, > > Looking at the code in trunk [1] I can see that > t.internet.protocol.Protocol will update the 'connected' attribute > upon makeConnection but will not update it on connectionLost > > Is this the intended design? I'm sure someone in

[Twisted-Python] twisted.internet.protocol.Protocol.connected flag purpose

2016-08-11 Thread Adi Roiban
Hi, Looking at the code in trunk [1] I can see that t.internet.protocol.Protocol will update the 'connected' attribute upon makeConnection but will not update it on connectionLost Is this the intended design? Is this design documented somewhere ? I have check the narrative docs [2] and api-docs[