Corrections for Python versions