Fix python 2.4 compat issues and fixed python 3.0 tests.
3 files changed