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

Add a method to trio.BlockingTrioPortal for conveniently using async context managers #323

Open
njsmith opened this issue Sep 15, 2017 · 0 comments

Comments

@njsmith
Copy link
Member

njsmith commented Sep 15, 2017

I guess maybe sync context managers too, but I can't think of any sync context managers that would make sense to call, whereas with portal.async_cm(my_trio_lock): ... makes perfect sense.

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

No branches or pull requests

2 participants