Skip to content

bpo-38161: Removes _AwaitEvent from AsyncMock. #16443

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

Merged
merged 2 commits into from
Sep 30, 2019

Conversation

lisroach
Copy link
Contributor

@lisroach lisroach commented Sep 27, 2019

This is something we can add back in as a feature in the future, but for now I want to take it out. With the release of 3.8 coming up I don't think this is thought out well enough- I don't like the name, I'm struggling to document it, its not tested, and I'm not sure if it's worth getting stuck with an attribute we may have to make significant changes to in the future.

If someone really wants it in now that's fine, just make a PR adding all those things in for me :)

https://bugs.python.org/issue38161

@lisroach lisroach changed the title Removes _AwaitEvent from AsyncMock. bpo-38161: Removes _AwaitEvent from AsyncMock. Sep 27, 2019
@lisroach
Copy link
Contributor Author

Going to push since we are still in beta and I want it gone before RC tomorrow.

@lisroach lisroach merged commit 25e115e into python:master Sep 30, 2019
@lisroach lisroach deleted the await_event branch September 30, 2019 04:01
@miss-islington
Copy link
Contributor

Thanks @lisroach for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 30, 2019
@bedevere-bot
Copy link

GH-16481 is a backport of this pull request to the 3.8 branch.

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

Successfully merging this pull request may close these issues.

4 participants