GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||
GeezerVison is showing github.com — Add asyncio.taskgroups and new Task methods by gvanrossum · Pull Request #7240 · python/typeshed Conversation
Member
The new Task methods are .cancelling() and .uncancel(). Everything is conditional to 3.11 (but the taskgroups.py module
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe new Task methods are .cancelling() and .uncancel(). Everything is conditional to 3.11 (but the taskgroups.py module always exists -- it's just empty before 3.11).
This comment has been minimized.
|
|
Question for other typeshed maintainers. How do we handle modules that were added in a certain release? I am getting errors from the linters that seem to be complaining about this. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You need to add it to the VERSIONS file, https://github.com/python/typeshed/blob/master/stdlib/VERSIONS |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
(Thanks Jelle...) Co-authored-by: Jelle Zijlstra <[email protected]>
|
These test failures are excruciating if you haven't been following developments here. :-) I now get "error: asyncio.taskgroups failed to find stubs" e.g. https://github.com/python/typeshed/runs/5222298476?check_suite_focus=true I'm not sure what it's telling me I have to do. :-( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I suppose we should make stubtest understand the VERSIONS file. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
A few comments below. Unfortunately our CI isn't very helpful, because we don't run the tests on Python 3.11 yet.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
I believe that should already be fixed in the next version of mypy (python/mypy#12083) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Thanks! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.