[Patches] [ python-Patches-405228 ] split Telnet class into TelnetBase
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 10 Jul 2001 05:01:40 -0700
Patches item #405228, was opened at 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: Closed
>Resolution: Rejected
Priority: 2
Submitted By: Luke Kenneth Casson Leighton (lkcl)
Assigned to: Guido van Rossum (gvanrossum)
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: Guido van Rossum (gvanrossum)
Date: 2001-07-10 05:01
Message:
Logged In: YES
user_id=6380
Closing this now; I don't think this is going to happen.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-03-18 18:23
Message:
Logged In: YES
user_id=6380
This version of the patch looks like it needs a lot of work. Sent comments directly to author.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-03-01 18:47
Message:
Logged In: YES
user_id=6380
I'll try to do this after b1 is released.
----------------------------------------------------------------------
Comment By: Luke Kenneth Casson Leighton (lkcl)
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