This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: split Telnet class into TelnetBase
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, lkcl
Priority: low Keywords: patch

Created on 2001-03-01 19:26 by lkcl, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (5)
msg35967 - (view) Author: Luke Kenneth Casson Leighton (lkcl) Date: 2001-03-01 19:26
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
msg35968 - (view) Author: Luke Kenneth Casson Leighton (lkcl) Date: 2001-03-01 19:32
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
msg35969 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-03-02 02:47
Logged In: YES 
user_id=6380

I'll try to do this after b1 is released.
msg35970 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-03-19 02:23
Logged In: YES 
user_id=6380

This version of the patch looks like it needs a lot of work.  Sent comments directly to author.
msg35971 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2001-07-10 12:01
Logged In: YES 
user_id=6380

Closing this now; I don't think this is going to happen.
History
Date User Action Args
2022-04-10 16:03:48adminsetgithub: 34039
2001-03-01 19:26:46lkclcreate