-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Create documentation page for typing #3142
Comments
Seems useful, maybe also we might want to recommend some options to turn on. In particular Mypy's |
Extra thing: BaseExceptionGroup/ExceptionGroup dichotomy for subclasses (I think you need the relevant overloads for the BaseExceptionGroup subclass and multiple inheritance for ExceptionGroup? I haven't tried out the types yet) |
RaisesGroup is perhaps a special case, but yeah I keep being surprised how nasty the typing for [Base]ExceptionGroup is |
related typeshed issue python/typeshed#9922 |
I think there's sufficient nuances in trio's typing to merit a documentation page to point at. Off the top of my head:
There's probably other stuff too, but mainly it would be useful as a link reply to anyone talking about trio-typing.
... do other people think this is a decent idea? Maybe my bullet points above are exhaustive in which case idk maybe we don't need a docs page.
The text was updated successfully, but these errors were encountered: