LiuLang/python3-xlib — pull request #7 by ntrrgc (2014-02-23 16:42:53+00:00)
Title: Fix get_best_auth for Python 3

All self.entries items are byte strings, but get_best_auth receives
Unicode strings. Convert them to bytes before comparing.

This fixes a bug that prevented python3-xlib to find X11 cookies in
Xauthority, thus not allowing to use it without `xhost +`.