Repository navigation
Better to_thread() #213
rafalkrupinski
started this conversation in
Ideas
Replies: 1 comment
|
Thanks for the suggestion. However, Note that if the type annotations for the standard library are lacking, the typeshed library is the place to suggest fixes. As far as I can tell, the current version already preserves typing information, though. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi, any chance to include a better to_thread?
The original loses all typing information, and doesn't allow any own parameters.
This version is fully typed (can be backported to older typing syntax), and separates the target function params from its own (if it ever has any)
usage:
@maxfischer2781
All reactions