[Patches] [ python-Patches-405228 ] split Telnet class into TelnetBase
nobody
nobody@sourceforge.net
Thu, 01 Mar 2001 11:32:06 -0800
Patches #405228, was updated on 2001-03-01 11:26
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=405228&group_id=5470
Category: library
Group: None
Status: Open
Priority: 5
Submitted By: Luke Kenneth Casson Leighton
Assigned to: Nobody/Anonymous
Summary: split Telnet class into TelnetBase
Initial Comment:
I've been asked to make telnet, ssh, bash and rpcclient
(http://www.samba-tng.org), http requests and possibly
much more all look seamlessly like telnet.
That means splitting telnetlib.py's Telnet class down
into a base class. I need the write, read_until,
expect and friends, but did not want to do a total
rewrite / total pain-in-the-neck cut/paste job on
telnetlib.py just to fulfil the requirements.
I have noticed that someone wrote an scp class, already
before: it's available on parnassus. it wraps scp in
popen. with this TelnetBase class, doing the same
thing will be trivial _and_ you get the exact same look
and functionality as if it was a Telnet() instance.
well, it makes _me_ happy enough to submit this patch.
copyright is hereby assigned to Guido van Rossum.
authorship must remain as-is.
have fun,
luke
----------------------------------------------------------------------
Comment By: Luke Kenneth Casson Leighton
Date: 2001-03-01 11:32
Message:
Logged In: YES
user_id=80200
good grief. what the hell is wrong with sourceforge??? you
can't upload files! grrr. diff -u will be sent to
patches@python.org. grrr
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=405228&group_id=5470