[issue7322] Socket timeout can cause file-like readline() method to lose data

Antoine Pitrou report at bugs.python.org
Fri Dec 31 11:47:42 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

While this patch looks conformant to the documentation, it is very likely to break code in the wild. Even in the stdlib, there are uses of makefile() + socket timeouts (e.g. in http.client and urllib). It would be better to find a way to make readline() functional even with socket timeouts.

----------
assignee: gregory.p.smith -> 

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7322>
_______________________________________


More information about the Python-bugs-list mailing list