Be python 2.4 compatible