Remove mentions and compatibility constructs with Python 2.4.