-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Deprecate passing iterator argvalues to parametrize #13877
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
base: main
Are you sure you want to change the base?
Deprecate passing iterator argvalues to parametrize #13877
Conversation
|
TODO: Avoid showing the two overloads for |
It's deprecated in typeshed, the fallback is probably not needed these days.
Currently it's not enabled by default. See: https://mypy.readthedocs.io/en/stable/changelog.html#support-for-deprecated-decorator-pep-702
Tried a few things ( |
02e5363 to
7846fdd
Compare
|
We intend to start using it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome!
I understand you don't want to ship this into 9.0?
7846fdd to
dd47a89
Compare
Gotta know where to stop :) This can go in the next release. |
|
Fair enough. 😁 |
Fixes #13409 by deprecating non-
Collectionargvalues as described in the issue. The deprecation is both in runtime and in type checking time (via the new@warning.deprecateddecorator, though it's not enabled in mypy by default yet).