python 2.6 compatability
Merge branch 'python_3' into db_compression