Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Chris Withers
On 24/03/2019 04:30, Glyph wrote: I'd further note that ClientService is /generally/ the new, good way to do things and ReconnectingClientFactory is the old, bad way.  Our hope is to eventually deprecate ReconnectingClientFactory and most of the APIs that it uses, but this is a big project that

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Chris Withers
On 22/03/2019 23:26, Chris Satterthwaite wrote: Hi Chris, The files I attached (with the full classes) made it through to my email, but I wondered if they would they go through to everyone. Here's a gist with the same scripts: https://gist.github.com/codingadvocate/f732da79ddf6cef4b7a0b6b3679f

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Glyph
> On Mar 26, 2019, at 12:14 AM, Chris Withers wrote: > > On 24/03/2019 04:30, Glyph wrote: >> I'd further note that ClientService is /generally/ the new, good way to do >> things and ReconnectingClientFactory is the old, bad way. Our hope is to >> eventually deprecate ReconnectingClientFacto

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Tobias Oberstein
The Autobahn guys still show ReconnectingClientFactory in their docs, Where did you find that? That would be a doc bug, but in the _docs_, there is no reference to ReconnectingClientFactory (cpy372_3) oberstet@intel-nuci7:~$ find ~/scm/crossbario/autobahn-python/docs/ -type f -exec grep -Hi

Re: [Twisted-Python] stop/start client connections with loseConnection in ReconnectingClientFactory

2019-03-26 Thread Chris Satterthwaite
Hi Chris, The print and sleep statements are just my efforts at converting something big down to something small for a test case. In the actual client I'm using twisted.logger for FilteringLogObserver's and Logger's. The looping call for system health was also a shorted version; I wasn't sure

Re: [Twisted-Python] A Proposal for reducing the burden of developing on Twisted by dropping Python 2 support

2019-03-26 Thread Craig Rodrigues
On Mon, Mar 25, 2019 at 3:15 AM Amber Brown wrote: > > > > You can find the proposal here, in this handy-dandy Google Doc: > > https://docs.google.com/document/d/1S4CGgZC09blLIdk3Zo7wBa75A9_JuuH_3akkyjN0lik/edit > > > Thanks for writing that doc. I think option 3 of making Twisted 19.4 the last P

[Twisted-Python] Drop support for Python 3.4?

2019-03-26 Thread Craig Rodrigues
What do people think of dropping Twisted support for Python 3.4? According to https://devguide.python.org/#status-of-python-branches Python 3.4 EOL'd on March 19, 2019. In the Python 3 world, we have Python 3.4, 3.5, 3.6, 3.7, and at the end of this year we will have Python 3.8. That's quite a

Re: [Twisted-Python] Drop support for Python 3.4?

2019-03-26 Thread Glyph
> On Mar 26, 2019, at 7:59 PM, Craig Rodrigues wrote: > > What do people think of dropping Twisted support for Python 3.4? > > According to https://devguide.python.org/#status-of-python-branches > > > Python 3.4 EOL'd on March 19, 2019