[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread R. David Murray
R. David Murray added the comment: To clarify: don't call open again *on that telnetlib.Telnet object*. You can certainly have more than one open connection using different telnetlib.Telnet instances, though it might be a bit challenging to manage them :) --

[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread R. David Murray
Change by R. David Murray : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread R. David Murray
R. David Murray added the comment: telnetlib provides a low level interface to the telnet protocol. The dialog you mention appears to be transmitted on the telnet connection, so it is unlikely there is any bug or missing feature in telnetlib that would affect your problem. The sentence in

[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread Eric V. Smith
Eric V. Smith added the comment: This sounds like an application-level issue, not a telnetlib problem. As far as I can tell, you're opening a new connection, not reusing an existing connection. -- ___ Python tracker

[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread Chandrakanth Reddy
Chandrakanth Reddy added the comment: Hi Eric, Apologize for not providing the link. Below is the link which i was referring to: https://docs.python.org/3.1/library/telnetlib.html I have an already opened telnet session(established by some other user). Now if I again try to open a telnet

[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread Eric V. Smith
Eric V. Smith added the comment: Which link are you referring to? I don't see any code you've provided where you're reopening a connection. It looks like you're opening a new connection, reading, writing, and nothing else. It also looks like the output you show is coming from the remote

[issue33806] Cannot re-open an existing telnet session

2018-06-08 Thread Chandrakanth Reddy
New submission from Chandrakanth Reddy : i see from the below link it says "cannot re-open an already existing telnet instance" using Telnetlib. Can this be fixed in the later versions of python or is there any work around for this. I'm surprised that this is something which PERL supports