From: john.david at mankato.msus.edu (john)
Date: Wed, 21 Apr 1999 13:17:42 -0500
Subject: Telnetlib error - not
References: <john-2004991006390001@platinum.compserv.mankato.msus.edu>
Message-ID: <371E1632.77566BAE@mankato.msus.edu>
X-UID: 1176                                                  

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





