Don't forget to remove ${PREFIX}/bin/python or/and ${PREFIX}/bin/pydoc if they were symlinks to ${PREFIX}/bin/python2.4 or to ${PREFIX}/bin/pydoc2.4.