-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix compatibility with asyncio 3.4.1+ #170
Labels
Comments
asvetlov
added a commit
that referenced
this issue
Oct 30, 2014
Fixed in 0.9.3 |
I think we should stop using streams.py from asyncio. |
@fafhrd91 maybe you are true but I'm not ready to drop streams right now. |
FYI, during PyCON-FR, I've discussed with some AsyncIO developers. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In new asyncio StreamWriter.drain has become coroutine instead of plain function.
That means that transport.drain() should be un-yielded.
Drawback is: in debug mode (PYTHONASYNCIODEBUG env var is on) CoroWrapper raises exception.
Will fix quickly and publish 0.9.3 release.
Need to setup travis for passing tests both with PYTHONASYNCIODEBUG and without it.
The text was updated successfully, but these errors were encountered: