Compatibility with Python 2.6 2.7 3.2 3.3 3.4