[Twisted-Python] 17.5.0 _newtls.pu:207 loseConnection signature problem

2017-08-11 Thread Barry Scott
I porting some code to latest twisted and I;m seeing the old code expects to call loseConenction with a reason. But loseConnection in class ConnectionMixin does not have the parameter. Is this an oversight or deliberate? Barry ___ Twisted-Python mail

Re: [Twisted-Python] 17.5.0 _newtls.pu:207 loseConnection signature problem

2017-08-11 Thread Jean-Paul Calderone
On Fri, Aug 11, 2017 at 6:46 AM, Barry Scott wrote: > I porting some code to latest twisted and I;m seeing the old code expects > to > call loseConenction with a reason. > This code makes the mistake of treating a peculiarity of a particular implementation of an interface as the interface itself