You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drop __aiter__ compatibility layer from 3.7 #72831
As discussed in issue bpo-27243, we want to drop __aiter__ compatibility layer in Python 3.7. Please take a look at the attached patch (I'll inc importlib's magic before committing).
Please left good gap for possible bugfixes between current number and 3.7 number. Set it to 3390.
I'm not experienced with async protocols, but at first glance the patch looks technically correct. Please update the documentation. I have the only question about tests. Some tests test the behavior with "async __aiter__". With the patch them test the behavior with just "__aiter__". Shouldn't these tests be duplicated in 3.5-3.6 for __aiter__ without async?
Activity
1st1 commentedon Nov 9, 2016
As discussed in issue bpo-27243, we want to drop __aiter__ compatibility layer in Python 3.7. Please take a look at the attached patch (I'll inc importlib's magic before committing).
serhiy-storchaka commentedon Nov 9, 2016
Please left good gap for possible bugfixes between current number and 3.7 number. Set it to 3390.
I'm not experienced with async protocols, but at first glance the patch looks technically correct. Please update the documentation. I have the only question about tests. Some tests test the behavior with "async __aiter__". With the patch them test the behavior with just "__aiter__". Shouldn't these tests be duplicated in 3.5-3.6 for __aiter__ without async?
serhiy-storchaka commentedon Oct 23, 2017
Do you mind to create a pull request Yury?
1st1 commentedon Oct 23, 2017
Already resolved as part of https://bugs.python.org/issue31709. Closing this one.