Tweaked use of sys.version_info for python 2.6