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

Alexandre JABORSKA report at bugs.python.org
Tue Mar 4 08:35:17 CET 2014


Alexandre JABORSKA added the comment:

Well,

  You're right, I'm confused, and I cannot use the http.client.parse_headers(). I made a workaround by reading all lines in a BytesIO and parse this one.

  Anyway, if it not possible to use a file like object with the asyncio module, which is absolutly fantastic (I installed the 3.4RC just for it), a lot a modules will need a rewrite/adaptation to be useable. I guess every module that use any kind of IO is the list : logging, servers, parsers, etc.

  Thanks !

Alexandre

----------

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


More information about the Python-bugs-list mailing list