py2.6 compatibility (why not?)