Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
stubtest: better checking of runtime args with dunder names#18756
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
jorenham commentedMar 5, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I just ran it on the numpy stubs innumpy/numtype, and when I remove the allowlist entry that I mentioned in#15302 (comment), it passes 🎉. I'm not sure if it's relevant here, but if I don't remove that allowlist entry, stubtest doesn't report it as unused. edit: I published the code tohttps://github.com/numpy/numtype/tree/mypy-18756. To repro, run |
a067d84 intopython:masterUh oh!
There was an error while loading.Please reload this page.
hauntsaninja commentedMar 7, 2025
Thanks for checking, will look into the unused allowlist thing too... |
cc@jorenham I was looking intopython/mypy#18756 (comment)It looks like the pre-release version of mypy crashes (for some reason related to property changes, will investigate). Crash logs are emitted to stderr and process exits with exit code 2.This code does correctly chain the exit code, but swallows stderr.
cc@jorenham I was looking intopython/mypy#18756 (comment)It looks like the pre-release version of mypy crashes (for some reason related to property changes, will investigate). Crash logs are emitted to stderr and process exits with exit code 2.This code does correctly chain the exit code, but swallows stderr.
Uh oh!
There was an error while loading.Please reload this page.
Fixes#15302,fixes#14560. Linking#18343