Add additional python 2.6 checks
Merge pull request #9289 from techhat/issue9270

Add additional python 2.6 checks