Remove old Python 2 compatibility code
Consider a tool like https://github.com/asottile/pyupgrade to make the code base more modern, and drop the compatibility layers like six and from __future__ imports.
Other things to look for:
- PY_VERSION_HEX, PY_MAJOR_VERSION, PYTANGO_PY3K in extension code.
Edited by Anton Joubert