Python 2 and Python 3 compatibility
I am opening a MR following #614 (closed) (and #619 (closed)). This is currently a WIP, so definitely not ready to be proposed for merge. Still, please feel free to comment any code here! :)
EDIT: No longer a WIP.
Fix #614 (closed) and #619 (closed) . Partial fix for #640 (closed).
Edited by Phyks