[issue20841] asyncio.StreamReader.readline() lack lines limit optional parameter

Alexandre JABORSKA report at bugs.python.org
Mon Mar 3 11:52:54 CET 2014


Alexandre JABORSKA added the comment:

Hum... 

It seems to me that the StreamReader() limit parameter is for buffer size while the io.BytesIO.readline() "n" parameter is for maximum number of lines to be retreived, I guess. 

And since the StreamReader().readline() does not accept parameter, it still cannot be used in other modules (like http.client.parse_headers()).

----------

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


More information about the Python-bugs-list mailing list