2. Dictionary comprehensions were added in Python 2.7
3. To use the features of a specific version of Python, Flake8 needs to be installed using that version. In your bug report, it says you've installed on Python 2.6.6 so in fact the dictionary comprehension *is* invalid Syntax.
4. How in the world did you install Flake8 on Python 2.6? That shouldn't work. It uses features of Python 2.7 that aren't present in 2.6.
Hi Max, a few things:
1. The correct issue tracker is https:/ /gitlab. com/pycqa/ flake8
2. Dictionary comprehensions were added in Python 2.7
3. To use the features of a specific version of Python, Flake8 needs to be installed using that version. In your bug report, it says you've installed on Python 2.6.6 so in fact the dictionary comprehension *is* invalid Syntax.
4. How in the world did you install Flake8 on Python 2.6? That shouldn't work. It uses features of Python 2.7 that aren't present in 2.6.