-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
stubtest: Recognize __ as indicating positional-only arg at runtime #15302
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
It also complains that |
That second issue is a duplicate of #14560 |
This issue is also affecting NumPy. At runtime, def check_support_sve(__cache=[]): ... I tried annotating it in 3 ways; all of them resulted in a stubtest error. This forces us to put it in the allowist. attempt 1: pos-only
|
I got this error on typing-extensions:
Since
typing_extensions.override
uses__arg
at runtime, I think stubtest should recognize it as positional-only.The text was updated successfully, but these errors were encountered: