Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-19 Thread Richard van der Hoff
On 16/05/2020 06:56, Glyph wrote: On May 15, 2020, at 8:40 PM, Craig Rodrigues > wrote: Maybe it would be OK to do one more release of Twisted and announce that as the last release supporting Python 3.5, before dropping support? Yeah; whenever we drop a Pyth

Re: [Twisted-Python] unified filesystem API (was: SMB server component for twisted)

2020-05-19 Thread Barry Scott
On Saturday, 16 May 2020 02:14:57 BST Ian Haywood wrote: > On 16/05/2020 10:55 am, Ian Haywood wrote: > > On 15/05/2020 10:52 am, Glyph wrote: > >> y 14, 2020, at 5:23 PM, Wilfredo Sánchez Vega >> > >> > >>> I think it's great to get an SMB implementation in the T

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-19 Thread Barry Scott
On Monday, 18 May 2020 22:21:16 BST Tom Most wrote: > On Sun, May 17, 2020, at 12:22 PM, Glyph wrote: > >> In the one case that may be complicated I think that pinning Twisted will > >> be acceptable, since the service in question is a process supervisor > >> without direct external exposure.> > >

Re: [Twisted-Python] unified filesystem API (was: SMB server component for twisted)

2020-05-19 Thread Jean-Paul Calderone
Is anyone going to mention twisted.vfs? On Tue, May 19, 2020 at 8:33 AM Barry Scott wrote: > On Saturday, 16 May 2020 02:14:57 BST Ian Haywood wrote: > > On 16/05/2020 10:55 am, Ian Haywood wrote: > > > On 15/05/2020 10:52 am, Glyph wrote: > > >> y 14, 2020, at 5:23 PM, Wilfredo Sánchez Vega >

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-19 Thread Jean-Paul Calderone
On Tue, May 19, 2020 at 8:33 AM Barry Scott wrote: > On Monday, 18 May 2020 22:21:16 BST Tom Most wrote: > > > > > If looking improve process management in Twisted, I think that the > > lowest-hanging fruit is to watch children with pidfd, rather than reaping > > all children on SIGCHLD. This O(n

Re: [Twisted-Python] unified filesystem API

2020-05-19 Thread John Santos
On 5/19/2020 4:54 AM, Barry Scott wrote: On Saturday, 16 May 2020 02:14:57 BST Ian Haywood wrote: On 16/05/2020 10:55 am, Ian Haywood wrote: On 15/05/2020 10:52 am, Glyph wrote: y 14, 2020, at 5:23 PM, Wilfredo Sánchez Vega mailto:wsanc...@wsanchez.net> I think it's great to get an SMB i

Re: [Twisted-Python] [RFC] Drop support for Python 3.5 sometime after May 2021?

2020-05-19 Thread Tom Most
On Tue, May 19, 2020, at 5:41 AM, Jean-Paul Calderone wrote: > On Tue, May 19, 2020 at 8:33 AM Barry Scott > wrote: >> Why not waitpid for all children (pid=0 or pid=-1) in a single call? > > Because then you might reap a child process someone launched with a different > API - eg the Python su

Re: [Twisted-Python] unified filesystem API (was: SMB server component for twisted)

2020-05-19 Thread Glyph
> On May 19, 2020, at 1:54 AM, Barry Scott wrote: > > I do not see a common class tree works for things that are so different > as SMB and FTP. Let's absolutely not try to do this with inheritance :-). Broadly, I agree with John Santos's assessment. But it's all sort of moot until someone s

Re: [Twisted-Python] unified filesystem API (was: SMB server component for twisted)

2020-05-19 Thread Glyph
> On May 19, 2020, at 5:40 AM, Jean-Paul Calderone > wrote: > > Is anyone going to mention twisted.vfs? You, apparently? :) If anyone is curious about this code, `git revert 2059b5313ec236e8c3f77da4bd773ab98299ca1b` to have a look at it. twisted.vfs was an attempt to do something like this