With Python 3.10 Following this issue: https://github.com/microsoft/pylance-release/issues/2541#issuecomment-1448576066 I tried to use it, and got 2 bugs: https://github.com/microsoft/pylance-release/issues/2541#issuecomment-2517421890 I also opened a bug for mypy: https://github.com/python/mypy/issues/18243#issue-2717780646