Remove Python 2.4/2.5 workarounds

Ran across a couple of workaround for Python 2.4/2.5 when doing other stuff, so have cleared out everything I could find (and understand) by grep'ing for 2.4, 2.5 and version_info.