Compatible with new version of sure
Use new except syntax (Python 2.6+/3.x)
Use Exceptions as errors base class (instead of StandardError)
Use six to compatible with python 2,3