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 — gh-133893: asyncio.graph: Replace TextIO annotation with io.Writer by srittau · Pull Request #133894 · python/cpython Conversation
|
|
GH-133901 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@srittau @JelleZijlstra do know how we can type-check this file and several others in |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Type checking in the standard library has been a contentious issue, see for example https://discuss.python.org/t/type-annotations-in-the-stdlib/21487/2 I personally think that all annotated code in the standard library should be type checked, but this is probably a PEP-level problem that will cause a lot of pushback. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
There's also practical issues because type checkers assume standard library code is in typeshed. @ambv talked on the core.py podcast recently about how they achieved type checking for pyrepl with some symlink trick; but pyrepl might be a slightly easier case because it's private and not in typeshed. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
I already sneaked into It might be a reference for future work. |
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.