Open
Description
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).
- Local partial types Allow inverting --local-partial-types #18377 Enable local partial types by default #10169
- PEP 688 change bytearray memoryview promotion by default Enable strict_bytes by default #18371
- Remove logic for legacy bundled stubs Remove logic for legacy bundled stubs #18372
- SQLite cache
- Delete the Python 2 extra from setup.py Delete Python 2 extra #18374
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)