Type hints in Python 3.5 project shown as syntax error when opening 2.7 project in another window.
已回答
I have one project with Python 3.5 as project SDK. This project is using type hints.
When I open another project with Python 2.7 as project SDK in another window the type hints in the first project, the one with Python 3.5 as project SDK, are marked as syntax errors.
If I close and reopen the Python 3.5 project the type hints are not shown as errors anymore.
请先登录再写评论。
Thank you for the report. Please follow https://youtrack.jetbrains.com/issue/PY-26575 for updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.