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: telnetlib timeout fix (bug 822974)
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: johahn, loewis
Priority: normal Keywords: patch

Created on 2003-10-17 10:24 by johahn, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
telnetlib.diff johahn, 2003-10-17 10:24 diff -c telnetlib.py.old telnetlib.py
telnetlib_timeout (822974).py johahn, 2003-10-25 09:36 test code
Messages (3)
msg44790 - (view) Author: Johan M. Hahn (johahn) Date: 2003-10-17 10:24
Timeout behaviour do not match the docs. This patch 
fixes the read_until and expect methods to decreese the 
timeout between subsequent calls to select.select. See 
<a href="http://sourceforge.net/tracker/index.php?
func=detail&aid=822974&group_id=5470&atid=105470">bu
g 822974</a> for more info.




My system:


Python 2.3 final


Windows 2000 5.00.2951 sp4




...johahn
msg44791 - (view) Author: Johan M. Hahn (johahn) Date: 2003-10-25 09:36
Logged In: YES 
user_id=887415

Uploaded some simple code for producing the bug and also 
testing the patch.
msg44792 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2006-07-03 13:04
Logged In: YES 
user_id=21627

Thanks for the patch. Committed as r47215 and 47216 (for 2.4).
History
Date User Action Args
2022-04-10 16:11:46adminsetgithub: 39423
2003-10-17 10:24:58johahncreate