Skip to content

Fix compatibility with Python version >= 3.8.4

frifl requested to merge frifl/pyxdg:fix_py38_compat into master

In Python 3.8.4 and upwards it is no longer allowed to have constants "True", "False" and "None" within a ast.Name node. See bpo-40870 description at: https://docs.python.org/3/whatsnew/changelog.html

The issue was found when running test/test-menu-rules.py with Python 3.8.5

Merge request reports

Loading