Code Smell: don't throw raw exceptions
Indicate compatible python versions
Reduce pylint codesmell