Re: [Zope-dev] New Client.py bug(?) in 2.2.0 affects ZScheduler
>In Zope version 2.2.0b3 Client.py calls connect in httplib (in two different >places) like this: > >sock.connect(self.host,self.port) > >In Zope version 2.2.0 (final) it's like this: > >sock.connect((self.host,self.port)) > >In the latter case, Python complains: > > TypeError: 'argument 1: ..., tuple found' > >Does anyone know what was the motivation for the change in the syntax for >the call to connect? > >Should I drop this in the Collector? It is of course a bug. I just was sent a patch to the Collector (http://classic.zope.org:8080/Collector/1480/view) because this bug is related to my previous patch #1427. -- Adam Karpierz [EMAIL PROTECTED] ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] New Client.py bug(?) in 2.2.0 affects ZScheduler
Loren Stafford wrote: > Does anyone know what was the motivation for the change in the syntax for > the call to connect? To make it Python 2 compatible, but this shouldn't cause these errors since connect is supposed to be able to takea tuple now. Confusedly, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
[Zope-dev] New Client.py bug(?) in 2.2.0 affects ZScheduler
In Zope version 2.2.0b3 Client.py calls connect in httplib (in two different places) like this: sock.connect(self.host,self.port) In Zope version 2.2.0 (final) it's like this: sock.connect((self.host,self.port)) In the latter case, Python complains: TypeError: 'argument 1: ..., tuple found' Does anyone know what was the motivation for the change in the syntax for the call to connect? Should I drop this in the Collector? -- Loren ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )