The Python analyzer adapts its behavior to your Python runtime to raise more issues

Hello Python developers,

We improved our Python analyzer to raise more issues when we know the version of Python used by your project.
When it comes to raise an issue, we always prefer to be conservative to avoid false-positives. For example in the following case, we were raising nothing in the past simply because depending on the version of Python, the filter API returns an iterator (Python 3) or a list (Python 2).


Today, if you specify the Python version through the property sonar.python.version to 3.8, you will get this:

This change is available on SonarCloud and will be included in SonarQube 9.1.