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 <rep...@bugs.python.org>
<http://bugs.python.org/issue16042>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to