-
Notifications
You must be signed in to change notification settings - Fork 256
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 legacy __aiter__ methods #403
Fix legacy __aiter__ methods #403
Conversation
Codecov Report
@@ Coverage Diff @@
## master #403 +/- ##
=======================================
Coverage 92.28% 92.28%
=======================================
Files 9 9
Lines 1180 1180
Branches 172 172
=======================================
Hits 1089 1089
Misses 64 64
Partials 27 27
Continue to review full report at Codecov.
|
@thehesiod thoughts on this, looks fine to me. |
@terrycain aiohttp moved to 3.5.3+ to avoid this, should this lib as well? |
Yeah I see no issue moving it to 3.5.3+ @jettify any objections? |
Supporting only 3.5.3+ would make the fix even easier. Just let me know |
Pretty sure @jettify has no objections :) Side note: after sadly delaying aiohttp new release (totally my fault, my spare time is very limited now) I started to cut-off Python 3.5 in aiohttp 4.0 entirely. For me the main indicator is Debian 10. |
6504643
to
63c1b1e
Compare
Why does Line 72 in 131fb9f
|
Supporting 3.5.3+ i think would make sense for now, not sure on our 3.5 userbase but < 3.5.3 was fraught with issues. @Askaholic you mind updating the setup.py to mandate 3.5.3+ ? |
@terrycain The setup.py already does this: https://github.com/aio-libs/aiomysql/blob/master/setup.py#L13 Line 13 in 131fb9f
|
@terrycain It has been three months passed, when this fix will publish to pip? |
@jaggerwang If you are really desperate, you can try installing directly from git: https://stackoverflow.com/questions/20101834/pip-install-from-git-repo-branch |
@Askaholic Thanks! But this way is not so good, I choose waiting... The last update of the pip package is still at 2018:( |
This allows the
async for
syntax to be used withResultProxy
andCursor
objects in python 3.7.Fixes #394
Fixes #386
Fixes #317