bpo-33544: make asyncio.Event awaitable by fried · Pull Request #6916 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@fried

Copy link Copy Markdown

Contributor

@fried fried commented

May 16, 2018

edited by bedevere-bot

Loading

Inconsistency in asyncio.Event. It was were never made awaitable. This is a hold over from before async/wait, and its surprising. The awaitable pattern is much cleaner

await event
instead of

await event.wait()

https://bugs.python.org/issue33544

@vstinner

Copy link Copy Markdown

Member

It seems like you forgot something in your PR. I only see the NEWS entry!?

eric-wieser reacted with eyes emoji

@asvetlov asvetlov closed this

May 21, 2018

@asvetlov

Copy link Copy Markdown

Contributor

See the rejection reason in the https://bugs.python.org/issue33544

@fried fried deleted the awaitable_things branch

September 24, 2024 16:37

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

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@fried @vstinner @asvetlov @the-knights-who-say-ni @bedevere-bot