[ python-Bugs-1003323 ] telnetlib on Windows: read_until() freezes

SourceForge.net noreply at sourceforge.net
Sat Aug 7 18:29:04 CEST 2004


Bugs item #1003323, was opened at 2004-08-04 10:45
Message generated for change (Comment added) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1003323&group_id=5470

Category: Python Library
>Group: Python 2.3
Status: Closed
Resolution: Wont Fix
Priority: 5
Submitted By: Yannick Turgeon (yturgeon)
>Assigned to: Nobody/Anonymous (nobody)
Summary: telnetlib on Windows: read_until() freezes

Initial Comment:
I'm currently trying to pass commands to a telnet 
session and get the texte generated (stdin + stdout) by 
the session. The problem I get is that the 
Telnet.read_until() function seems to freeze after a 
couple of command. I did a simplified script (attached) 
that reproduce the problem each time. In the script, 
when I send the command "echo bar7" to the telnet 
session, it freezes forever without a Timeout.

I'm using 2.3.4 on Windows 2000 Server. According to a 
feedback for the comp.lang.python newsgroup, this 
problem do not occur on linux systems.

Thanks

Yannick

yannick.turgeon at cablevision.qc.ca

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2004-08-07 12:29

Message:
Logged In: YES 
user_id=11375

Closing as requested.


----------------------------------------------------------------------

Comment By: Michael Hudson (mwh)
Date: 2004-08-07 12:29

Message:
Logged In: YES 
user_id=6656

OK!

----------------------------------------------------------------------

Comment By: Yannick Turgeon (yturgeon)
Date: 2004-08-06 17:09

Message:
Logged In: YES 
user_id=280297

Forget this bug. In fact it's not a bug. The problem comes 
from the fact that Microsoft does not use a *real* telnet 
server. It's documented in Perl Net::Telnet doc. They are not 
fully respecting telnet protocol.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1003323&group_id=5470


More information about the Python-bugs-list mailing list