Code support for Python 2.7.x and 3.3.x