Skip to content

mypy 2.0 big change list #17967

Open
Open
@hauntsaninja

Description

@hauntsaninja

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    metaIssues tracking a broad area of work

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions