Skip to content

Supporting Python 3.9 #9761

@hauntsaninja

Description

@hauntsaninja

The next release needs to support Python 3.9

Here's my checklist of what's left:

To clarify the state of support for users stumbling upon this issue, mypy 0.790 will mostly work with Python 3.9.
There are two caveats to running mypy with 3.9:

  1. you won't be able to use list[int] syntax without mypy complaining,
  2. mypy will be slower since we haven't released mypyc compiled wheels for 3.9.

Note that typeshed in 0.790 has pretty good support for Python 3.9, so using new stdlib functionality should work fine.

PS: if you're getting error: syntax error in type comment with Python 3.9, it's because you're using a really old mypy and you should upgrade to a recent release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy