Telnetlib error - not

john john.david at mankato.msus.edu
Wed Apr 21 14:17:42 EDT 1999


Bug in my code -

John wrote:

> 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