Hi Merlijn,
I tried to review your commits relating to py3 compatibility. I am unsure about "PY3" os environment. Is this set by the python3 installation or must be set by hand?
And what is the reason do you use that environment setting and not sys.version or sys.version_info.
Thanks
xqt