UnicodeWarning with Python 2
Submitted by Arfrever Frehtes Taifersar Arahesis
Assigned to Thomas Kluyver @takluyver
Description
$ mkdir -p /tmp/menus/applications-merged
$ touch /tmp/menus/applications-merged/€.menu
$ echo "`<Menu>` <DefaultMergeDirs/> `</Menu>`" > /tmp/applications.menu
$ export XDG_CONFIG_HOME="/tmp"
$ python2.7 -c 'import xdg.Menu; xdg.Menu.parse("/tmp/applications.menu")'
/tmp/pyxdg/xdg/Menu.py:822: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
if filename in tmp["mergeFiles"]:
$ python3.2 -c 'import xdg.Menu; xdg.Menu.parse("/tmp/applications.menu")'
$