Skip to content
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

asyncio: Remove asyncio/compat.py #4606

Merged
merged 1 commit into from
Nov 28, 2017
Merged

asyncio: Remove asyncio/compat.py #4606

merged 1 commit into from
Nov 28, 2017

Conversation

vstinner
Copy link
Member

The asyncio/compat.py file was written to support Python < 3.5 and
Python < 3.5.2. But Python 3.5 doesn't accept bugfixes anymore, only
security fixes. There is no more need to backport bugfixes to Python
3.5, and so no need to have a single code base for Python 3.5, 3.6
and 3.7.

Say hello (again) to "async" and "await", who became real keywords in
Python 3.7 ;-)

The asyncio/compat.py file was written to support Python < 3.5 and
Python < 3.5.2. But Python 3.5 doesn't accept bugfixes anymore, only
security fixes. There is no more need to backport bugfixes to Python
3.5, and so no need to have a single code base for Python 3.5, 3.6
and 3.7.

Say hello (again) to "async" and "await", who became real keywords in
Python 3.7 ;-)
@vstinner
Copy link
Member Author

Note: This change removes the asyncio.queue.JoinableQueue alias, but in practice, this alias was already skipped on Python 3.5 and newer.

@vstinner vstinner merged commit 3f438a9 into python:master Nov 28, 2017
@vstinner vstinner deleted the asyncio_compat branch November 28, 2017 13:43
@vstinner
Copy link
Member Author

Thanks for the review @asvetlov!

@asvetlov
Copy link
Contributor

Sure!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants