py26 compatibility