Telnetlib error

John john at mankato.msus.edu
Tue Apr 20 11:06:39 EDT 1999


I am running python 1.5.2 (final release downloaded 19Apr1999) on:
Linux version 2.0.34 (gcc version egcs-2.90.29 980515 (egcs-1.0.3 release))

Has anyone else run into this problem?

  File "./telnet_test.py", line 86, in ?
    initial_data = tn.expect('->')
  File "/usr/local/lib/python1.5/telnetlib.py", line 450, in expect
    list[i] = re.compile(list[i])
TypeError: object doesn't support item assignment




More information about the Python-list mailing list