Incompatibility between socket and httplib in python CVS build.

Alex alex at somewhere.round.here
Wed Mar 29 18:40:42 CEST 2000


Hi.  Running python httplib.py currently gives the following error
message:

arc% python httplib.py
testing HTTP...
Traceback (innermost last):
  File "httplib.py", line 272, in ?
    test()
  File "httplib.py", line 238, in test
    h.connect(host)
  File "httplib.py", line 112, in connect
    self.sock.connect(host, port)
TypeError: connect requires exactly 1 argument; 2 given


My python version is

'1.5.2+ (#7, Mar 29 2000, 11:20:40)  [GCC egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)]'

And emacs gives the CVS versions of httplib.py and socketmodule.c as
1.14 and 1.98

Alex.



More information about the Python-list mailing list