using six packaged with Theano
Merge pull request #1248 from euphoris/theano_six

using six packaged with Theano