Py3: get rid of deprecation warnings; refactoring.
Py3: get rid of deprecation warnings; refactoring.

jzorrof/eve,pjs7678/eve,bcrochet/eve,mcreenan/eve,kidaa/eve,sebest/eve,stratosgear/eve,EasonYi/eve,mugurrus/eve,superdesk/eve,opticode/eve,elpoisterio/eve,hustlzp/eve,julianhille/eve,yanyanqin/eve,eduardomb/eve,matthieuprat/eve,kynan/eve,amagdas/eve,kalbasit/eve