Cleanup: Remove code for supporting Python versions older than 2.5

There is still some code in the codebase that provides substitutes for code
present on newer Python versions, but those cleanups are left for the future.
Drop support for Python 2.5

There is still some code in the codebase that provides substitutes for code
present on newer Python versions, but those cleanups are left for the future.