Use encode_array() for array.array objects everywhere (.tostring() will be removed in Python 3.9).
Use encode_array() for array.array objects everywhere (.tostring() will be removed in Python 3.9).

python-xlib/python-xlib,python-xlib/python-xlib