-
-
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 noop for python 3.4 #1847
Fix noop for python 3.4 #1847
Conversation
537d349
to
2ce816b
Compare
could you rebase against master and fix spelling |
Sure. Can you point out the spelling problem, though? |
you can do "make doc-spelling" |
2ce816b
to
6407eff
Compare
6407eff
to
2570f78
Compare
Codecov Report
@@ Coverage Diff @@
## master #1847 +/- ##
=======================================
Coverage 97.19% 97.19%
=======================================
Files 37 37
Lines 7509 7509
Branches 1306 1306
=======================================
Hits 7298 7298
Misses 89 89
Partials 122 122
Continue to review full report at Codecov.
|
Done. Thanks for pointing me in the right direction. |
Thanks |
What do these changes do?
This change switches the
noop
helper in python 3.4 from returning a tuple to returning an empty coroutine. Python 3.4 supports the coroutine decorator syntax, so I'm not sure why this was done differently to begin with. The current code is causing assertion errors when the coroutine is passed to loop.create_task.After this change both branches were the same, so the branching is removed.
Are there changes in behavior for the user?
No
Checklist
CONTRIBUTORS.txt
CHANGES.rst
#issue_number
format at the end of changelog message. Use Pull Request number if there are no issues for PR or PR covers the issue only partially.