Skip to content

Assertion error StreamParser class when using Python3.4.1-8 #131

Closed
@riverrun

Description

Hi,
I'm developing a url checker using aiohttp (https://github.com/riverrun/alinkcheck).
After upgrading Py3 to 3.4.1-8 (on Ubuntu 14.10), I was getting assertion errors complaining about the StreamParser (in parsers.py) not being a StreamReader.
In my case, I edited the parsers.py file and replaced line 71:
class StreamParser:
with
class StreamParser(asyncio.streams.StreamReader):
and with that I now get no errors.
I don't know if that will work for other people, but it seemed to work for me :)
If you need any more info, please let me know.

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions