[Python-Dev] sf.net/708007: expectlib.py telnetlib.py split

Luke Kenneth Casson Leighton lkcl@samba-tng.org
Tue, 13 May 2003 22:57:40 +0000


[i am not on the python-dev list but i check the archives, please cc me]

approximately two years ago i needed the functionality outlined
in the present telnetlib.py for several other remote protocols,
most notably commands (including ssh and bash) and also HTTP.

i figure that this functionality should be more than invaluable
to other python developers.

for example even the existing python libraries such as the
ftp client ftplib.py, which makes extensive use of regular
expressions to parse commands, could possibly benefit from
rewrites using the "new" expectlib.py.

also i believe it's the sort of thing that the twisted crowd
should already have invented, and they're mad if they haven't
already got something similar.


this message is therefore just a polite ping to the regular
python developers that the above referenced patch appears not
to have yet been looked at or assigned to anybody.

that having been said (perhaps with unintended implications
of criticism that the regular python developers are slackers,
which i most certainly am NOT saying!):

the expectlib.py / telnetlib.py split is not exactly a top
priority - just the sort of thing that one python fanatic
would classify as "nice to have".

l.

-- 
-- 
expecting email to be received and understood is a bit like
picking up the telephone and immediately dialing without
checking for a dial-tone; speaking immediately without listening
for either an answer or ring-tone; hanging up immediately and
then expecting someone to call you (and to be able to call you).
--
every day, people send out email expecting it to be received
without being tampered with, read by other people, delayed or
simply - without prejudice but lots of incompetence - destroyed.
--
please therefore treat email more like you would a CB radio
to communicate across the world (via relaying stations):
ask and expect people to confirm receipt; send nothing that
you don't mind everyone in the world knowing about...