Re: [Twisted-Python] notifyFinish not being called on Windows 10 Twisted 16.4.1

2016-10-18 Thread Glyph Lefkowitz
> On Oct 18, 2016, at 12:29 AM, John Aherne wrote: > > Having read the irc log a few times I'm still not clear what is meant to > happen. > > I can't see under what circumstances notifyFinish will return a Failure. The difference between firing with None and firing with a Failure is extremely

Re: [Twisted-Python] notifyFinish not being called on Windows 10 Twisted 16.4.1

2016-10-18 Thread John Aherne
Having read the irc log a few times I'm still not clear what is meant to happen. I can't see under what circumstances notifyFinish will return a Failure. John Aherne On Mon, Oct 17, 2016 at 5:48 PM, Cory Benfield wrote: > > > On 17 Oct 2016, at 17:27, John Aherne wrote: > > > > OK. Thanks fo

Re: [Twisted-Python] notifyFinish not being called on Windows 10 Twisted 16.4.1

2016-10-17 Thread John Aherne
Well since notifyFinish does not do what I was hoping, I'm back to using the standard cookie expire mechanism. I could use javascript to detect idle time, but that's just as arbitrary as expiring cookies. Thanks John Aherne On Mon, Oct 17, 2016 at 5:48 PM, Cory Benfield wrote: > > > On 17 O

Re: [Twisted-Python] notifyFinish not being called on Windows 10 Twisted 16.4.1

2016-10-17 Thread Cory Benfield
> On 17 Oct 2016, at 17:27, John Aherne wrote: > > OK. Thanks for the link. > > That explains what is going on although I'm not too clear on the details. > > What I was looking to do was set up an http session and when the browser went > away use that a the trigger to expire the session. > >

Re: [Twisted-Python] notifyFinish not being called on Windows 10 Twisted 16.4.1

2016-10-17 Thread John Aherne
OK. Thanks for the link. That explains what is going on although I'm not too clear on the details. What I was looking to do was set up an http session and when the browser went away use that a the trigger to expire the session. I didn't just want to set some arbitrary time frame to expire the se

Re: [Twisted-Python] notifyFinish not being called on Windows 10 Twisted 16.4.1

2016-10-17 Thread Cory Benfield
> On 17 Oct 2016, at 08:46, John Aherne wrote: > > I have been running some tests to check some issue and have seen that > notifyFinish is not being called in 16.4.1 > > This is on Windows 10 using python 2.7.12 > > Checking back it is not called 16.3.0 but is in 16.2.0 > > The test uses so