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

Python3.11 comes with ExceptionGroups and TaskGroups ! #2357

Closed
AmirHmZz opened this issue Jun 21, 2022 · 1 comment
Closed

Python3.11 comes with ExceptionGroups and TaskGroups ! #2357

AmirHmZz opened this issue Jun 21, 2022 · 1 comment

Comments

@AmirHmZz
Copy link

What are benefits of using Trio in comparison with Python3.11 since asyncio now supports ExceptionGroups and TaskGroups?

@smurfix
Copy link
Contributor

smurfix commented Jun 21, 2022

Taskgroups are still a bolt-on to asyncio and there are several cases where they are ignored rather thoroughly. create_server is one example. Also, there's the arcane Protocol+Transport construct which Trio has replaced with a reasonable and much more accessible Stream concept, which asyncio also has acquired but seems to have no plans to migrate to.

In any case this is not a problem with Trio, strictly speaking. We do have a forum for this kind of questions however. (And a Gitter chatroom.) https://trio.discourse.group/ https://gitter.im/python-trio/general Thus please excuse me closing this issue.

@smurfix smurfix closed this as completed Jun 21, 2022
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

No branches or pull requests

2 participants