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

Drop task management from trio.Queue #321

Closed
njsmith opened this issue Sep 8, 2017 · 0 comments
Closed

Drop task management from trio.Queue #321

njsmith opened this issue Sep 8, 2017 · 0 comments

Comments

@njsmith
Copy link
Member

njsmith commented Sep 8, 2017

Specifically this means deprecating and removing task_done and join.

I've been tempted to do this for a while b/c they're complicated, very rarely useful (as in: I'm not sure they have any use at all in Trio), and deeply inelegant (why is there an independent synchronization mechanism bolted onto Queue?). The only reason they're there in the first place is to match stdlib queue.Queue. Final straw: https://bugs.python.org/issue14976#msg301173

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

1 participant