Python 2.* compabilities