Reverting recent python2.6-related changes attempting to solve numenta/nupic#1520