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

Comments

Projects
None yet
1 participant
@njsmith
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