Py3 changes, Py2 backwards compatibility fix

Rationale: Target current Python release and provide *backwards* compatibility if needed. Don't target legacy releases.
Tested (in app) with Python 3.4 and loaded with Python 2.7.