Try changing it to
I read that Python 1.5.x accepted two arguments for the connect method even
though it wasn't documented, but they took that out in 2.0
On Wed, Oct 04, 2000 at 11:02:39AM -0400, Jeff Johnson wrote:
> > I upgraded to Py 2.0b2 (on Windows) and tested WebKit. No problems.
> > (Remember 0.4 had a couple API issues like bind() and connect()).
> I just downloaded 0.4 and, sure enough, I'm having problems with connect().
> I'm running Win 2000 and Py 2.0b2. Is there a newer version (>0.4) that
> I can get? Or is there another way to fix the problem?
> Traceback (most recent call last):
> File ".\CGIAdaptor.py", line 77, in main
> s.connect(host, port)
> File "<string>", line 1, in connect
> TypeError: connect requires exactly 1 argument; 2 given
> [Wed Oct 04 10:57:35 2000] [error] WebKitCGIAdaptor: Error while responding
> to request (unknown) Python exception: Traceback (most recent call last):
> File ".\CGIAdaptor.py", line 77, in main s.connect(host, port) File "", line
> 1, in connect TypeError: connect requires exactly 1 argument; 2 given
> Webware-discuss mailing list