-
Notifications
You must be signed in to change notification settings - Fork 275
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
Drop Python 2.7 support by 2020 #253
Comments
I'm strongly in favor of dropping support for Python 2.7. I'd even be in support of a more aggressive timeline, but accepting bugfix releases against older versions for the next year. |
If now is good enough for numpy, it's good enough for me. I'll open a PR to drop Python 2-isms - let me know if you see any I missed. Anybody have any opinions on using |
I would prefer return where suitable unless you do in fact want the deferral of behavior preceding the yield from. |
I generally reach for ‘yield from’ only when it can eliminate a ’for’ loop. |
🎆#268 has been merged. Should this issue be closed, or kept open for visibility? |
Ah, yes. I'll close this when I merge #271 and make a release. |
And it's out. Many thanks! |
It's almost 2019, which will be the last year with any releases that explicitly support Python 2.7. See here for some information on motivation.
What this means:
yield from
six
from the requirements and remove the places where it's usedIf someone wants to make a fork targeting older Python versions they are of course welcome to; if requested I will provide a link in the docs.
The text was updated successfully, but these errors were encountered: