special comparison for decimal/floats in py<2.7. fixes #254