Python26 compatibility