WIP: Update legacy python modules for Python 3.6 compatibility
Update python standard used. Note some of this changes may break Python 2.7 support.
Edited by Salvatore Bonaccorso
Update python standard used. Note some of this changes may break Python 2.7 support.