[issue16042] smtplib: unlimited readline() from connection
Serhiy Storchaka
report at bugs.python.org
Sun Sep 15 19:34:17 CEST 2013
Serhiy Storchaka added the comment:
> Also, what do you mean by "readline(0) is blocked"? Do you mean this is a blocking call or something else?
Yes, I mean this is a blocking call.
> Unless I'm missing something his replacement also has a bug, though: it won't add the \n to the returned string.
Oh, right. The correct code should be as I proposed in msg173413 or... as Andrew has committed. Good.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16042>
_______________________________________
More information about the Python-bugs-list
mailing list