-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Wrong stub for fileinput.input()
#7922
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
Comments
The stubs at the moment look quite buggy indeed! From my reading of the source code, I don't think it's actually the IO modes can be tricky to type in stub files, but it should be possible. |
Fixes python#7922, part of python#7928. Also discovered an apparent CPython bug in the process: python/cpython#93157
@JelleZijlstra:
microsoft/pyright#3494 (comment)
The text was updated successfully, but these errors were encountered: