This is a reminder list for changes we may want to do in a major version (that we know are relatively easy to flip on).
Needs more discussion:
- Get rid of
--no-namespace-packages
- Interpret type as type[Any]?
- Move func-returns-value to disabled by default error code?
For general not-so-easy changes we want to do, see #16472 (major/minor isn't the most meaningful for a lot of the most important changes we want to do, e.g. --new-type-inference was in 1.7)
See also https://github.com/python/mypy/wiki/Release-Process#policy-for-backward-incompatible-changes
(feel free to edit)
This is a reminder list for changes we may want to do in a major version (that we know are relatively easy to flip on).
--allow-redefinition-newtoallow-redefinition(and keep--allow-redefinition-old)Needs more discussion:
--no-namespace-packagesFor general not-so-easy changes we want to do, see #16472 (major/minor isn't the most meaningful for a lot of the most important changes we want to do, e.g.
--new-type-inferencewas in 1.7)See also https://github.com/python/mypy/wiki/Release-Process#policy-for-backward-incompatible-changes
(feel free to edit)